*/
public class POIFSFileSystem
extends NPOIFSFileSystem // TODO Temporary workaround during #56791
- implements POIFSViewable
-{
+ implements POIFSViewable {
/**
* Convenience method for clients that want to avoid the auto-close behaviour of the constructor.
*/
/**
* Constructor, intended for writing
*/
- public POIFSFileSystem()
- {
+ public POIFSFileSystem() {
super();
}
* @exception IOException on errors reading, or on invalid data
*/
- public POIFSFileSystem(InputStream stream)
- throws IOException
- {
+ public POIFSFileSystem(InputStream stream) throws IOException {
super(stream);
}
public static boolean hasPOIFSHeader(InputStream inp) throws IOException {
return NPOIFSFileSystem.hasPOIFSHeader(inp);
}
+
/**
* Checks if the supplied first 8 bytes of a stream / file
* has a POIFS (OLE2) header.
* @param args names of the files; arg[ 0 ] is the input file,
* arg[ 1 ] is the output file
*/
- public static void main(String args[]) throws IOException
- {
+ public static void main(String args[]) throws IOException {
OPOIFSFileSystem.main(args);
}
}