|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpl.edu.agh.cast.importer.base.util.AbstractEncodingRecognizer
public abstract class AbstractEncodingRecognizer
Recognizes the encoding and set of characters, used inside specified files.
Field Summary | |
---|---|
static Set<String> |
avalibleCharsets
The available charsets. |
static Charset |
CP1250
Set of characters for CP1250 encoding. |
static Charset |
ISO88592
Set of characters for ISO-8856-2 encoding. |
static Charset |
UTF8
Set of characters for UTF-8 encoding. |
Constructor Summary | |
---|---|
AbstractEncodingRecognizer()
|
Method Summary | |
---|---|
static Charset |
getFileCharset(String filePath,
IImportTokenizer tokenizer,
org.eclipse.core.runtime.IProgressMonitor monitor)
Imports a given file into a list of raw tabular data and retrieves its encoding and the set of characters being used within it. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static Set<String> avalibleCharsets
public static final Charset CP1250
public static final Charset ISO88592
public static final Charset UTF8
Constructor Detail |
---|
public AbstractEncodingRecognizer()
Method Detail |
---|
public static Charset getFileCharset(String filePath, IImportTokenizer tokenizer, org.eclipse.core.runtime.IProgressMonitor monitor) throws IOException
filePath
- the path of the file to be tokenizedtokenizer
- the import tokenizermonitor
- the progress monitor for the tokenization operation
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |