Reformat code slightly
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803612 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ad9fa0cd2d
commit
c7e1fabf1c
@ -33,8 +33,7 @@ import org.apache.poi.util.CloseIgnoringInputStream;
|
|||||||
*/
|
*/
|
||||||
public class POIFSFileSystem
|
public class POIFSFileSystem
|
||||||
extends NPOIFSFileSystem // TODO Temporary workaround during #56791
|
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.
|
* Convenience method for clients that want to avoid the auto-close behaviour of the constructor.
|
||||||
*/
|
*/
|
||||||
@ -45,8 +44,7 @@ public class POIFSFileSystem
|
|||||||
/**
|
/**
|
||||||
* Constructor, intended for writing
|
* Constructor, intended for writing
|
||||||
*/
|
*/
|
||||||
public POIFSFileSystem()
|
public POIFSFileSystem() {
|
||||||
{
|
|
||||||
super();
|
super();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -79,9 +77,7 @@ public class POIFSFileSystem
|
|||||||
* @exception IOException on errors reading, or on invalid data
|
* @exception IOException on errors reading, or on invalid data
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public POIFSFileSystem(InputStream stream)
|
public POIFSFileSystem(InputStream stream) throws IOException {
|
||||||
throws IOException
|
|
||||||
{
|
|
||||||
super(stream);
|
super(stream);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -130,6 +126,7 @@ public class POIFSFileSystem
|
|||||||
public static boolean hasPOIFSHeader(InputStream inp) throws IOException {
|
public static boolean hasPOIFSHeader(InputStream inp) throws IOException {
|
||||||
return NPOIFSFileSystem.hasPOIFSHeader(inp);
|
return NPOIFSFileSystem.hasPOIFSHeader(inp);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Checks if the supplied first 8 bytes of a stream / file
|
* Checks if the supplied first 8 bytes of a stream / file
|
||||||
* has a POIFS (OLE2) header.
|
* has a POIFS (OLE2) header.
|
||||||
@ -171,8 +168,7 @@ public class POIFSFileSystem
|
|||||||
* @param args names of the files; arg[ 0 ] is the input file,
|
* @param args names of the files; arg[ 0 ] is the input file,
|
||||||
* arg[ 1 ] is the output 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);
|
OPOIFSFileSystem.main(args);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user