diff options
author | Andreas Beeker <kiwiwings@apache.org> | 2018-08-31 00:25:50 +0000 |
---|---|---|
committer | Andreas Beeker <kiwiwings@apache.org> | 2018-08-31 00:25:50 +0000 |
commit | 8ebfec4808cce673b1911d15950200f2d1449b3c (patch) | |
tree | 6e69e00bac5f9256648499d49f57d0853c556634 /src/java/org/apache/poi/util | |
parent | e284963051cf5bff3f6b160ae65b56c049c5bfdc (diff) | |
download | poi-8ebfec4808cce673b1911d15950200f2d1449b3c.tar.gz poi-8ebfec4808cce673b1911d15950200f2d1449b3c.zip |
#62649 - Remove OPOIFS* / rename NPOIFS* to POIFS*
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1839709 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/poi/util')
-rw-r--r-- | src/java/org/apache/poi/util/DrawingDump.java | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/java/org/apache/poi/util/DrawingDump.java b/src/java/org/apache/poi/util/DrawingDump.java index bc06bcfc1a..ef7b2d29ac 100644 --- a/src/java/org/apache/poi/util/DrawingDump.java +++ b/src/java/org/apache/poi/util/DrawingDump.java @@ -26,18 +26,20 @@ import java.nio.charset.Charset; import org.apache.poi.hssf.usermodel.HSSFSheet; import org.apache.poi.hssf.usermodel.HSSFWorkbook; -import org.apache.poi.poifs.filesystem.NPOIFSFileSystem; +import org.apache.poi.poifs.filesystem.POIFSFileSystem; import org.apache.poi.ss.usermodel.Sheet; /** * Dump out the aggregated escher records */ -public class DrawingDump -{ +public final class DrawingDump { + private DrawingDump() { + } + public static void main( String[] args ) throws IOException { OutputStreamWriter osw = new OutputStreamWriter(System.out, Charset.defaultCharset()); PrintWriter pw = new PrintWriter(osw); - NPOIFSFileSystem fs = new NPOIFSFileSystem(new File(args[0])); + POIFSFileSystem fs = new POIFSFileSystem(new File(args[0])); HSSFWorkbook wb = new HSSFWorkbook(fs); try { pw.println( "Drawing group:" ); |