Package com.optimaize.langdetect.frma
Class LangProfileReader
- java.lang.Object
-
- com.optimaize.langdetect.frma.LangProfileReader
-
public class LangProfileReader extends Object
ReadsLangProfile
s.- Author:
- François ROLAND, Fabian Kessler
-
-
Constructor Summary
Constructors Constructor Description LangProfileReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LangProfile
read(File profileFile)
Reads aLangProfile
from a File in UTF-8.LangProfile
read(InputStream inputStream)
Reads aLangProfile
from an InputStream in UTF-8.
-
-
-
Method Detail
-
read
public LangProfile read(File profileFile) throws IOException
Reads aLangProfile
from a File in UTF-8.- Throws:
IOException
-
read
public LangProfile read(InputStream inputStream) throws IOException
Reads aLangProfile
from an InputStream in UTF-8.- Throws:
IOException
-
-