Package | Description |
---|---|
org.apache.poi.poifs.filesystem |
filesystem package maps OLE 2 Compound document files to a more familiar filesystem interface.
|
Modifier and Type | Method and Description |
---|---|
static FileMagic |
FileMagic.valueOf(byte[] magic) |
static FileMagic |
FileMagic.valueOf(java.io.File inp)
Get the file magic of the supplied
File |
static FileMagic |
FileMagic.valueOf(java.io.InputStream inp)
Get the file magic of the supplied InputStream (which MUST
support mark and reset).
|
static FileMagic |
FileMagic.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FileMagic[] |
FileMagic.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.