Class DataSourceProbe

java.lang.Object
app.babylon.io.DataSourceProbe

public class DataSourceProbe extends Object
  • Method Details

    • of

      public static DataSourceProbe of(byte[] bytes, String resourceName)
    • of

      public static DataSourceProbe of(BufferedInputStream bstream, String resourceName) throws IOException
      Throws:
      IOException
    • of

      public static DataSourceProbe of(DataSource ds) throws IOException
      Throws:
      IOException
    • isXls

      public boolean isXls()
    • isZip

      public boolean isZip()
    • isXlsx

      public boolean isXlsx()
    • hasBom

      public boolean hasBom()
    • bomLengthBytes

      public int bomLengthBytes()
    • detectedCharset

      public Charset detectedCharset()
    • hasUtf8Bom

      public boolean hasUtf8Bom()
    • hasUtf16LeBom

      public boolean hasUtf16LeBom()
    • hasUtf16BeBom

      public boolean hasUtf16BeBom()
    • isPdf

      public boolean isPdf()