Package app.babylon.io
Class DataSourceProbe
java.lang.Object
app.babylon.io.DataSourceProbe
-
Method Summary
Modifier and TypeMethodDescriptionintbooleanhasBom()booleanbooleanbooleanbooleanisPdf()booleanisXls()booleanisXlsx()booleanisZip()static DataSourceProbestatic DataSourceProbeof(DataSource ds) static DataSourceProbeof(BufferedInputStream bstream, String resourceName)
-
Method Details
-
of
-
of
public static DataSourceProbe of(BufferedInputStream bstream, String resourceName) throws IOException - Throws:
IOException
-
of
- Throws:
IOException
-
isXls
public boolean isXls() -
isZip
public boolean isZip() -
isXlsx
public boolean isXlsx() -
hasBom
public boolean hasBom() -
bomLengthBytes
public int bomLengthBytes() -
detectedCharset
-
hasUtf8Bom
public boolean hasUtf8Bom() -
hasUtf16LeBom
public boolean hasUtf16LeBom() -
hasUtf16BeBom
public boolean hasUtf16BeBom() -
isPdf
public boolean isPdf()
-