@Test(expected = IOException.class) public final void testFileIsDir() throws IOException { final Logger l = PowerMock.createNiceMock(Logger.class); final OdsFactory of = OdsFactory.create(l, Locale.US); PowerMock.resetAll(); TestHelper.initMockDocument(this.odsElements); PowerMock.replayAll(); of.createWriter().saveAs("."); PowerMock.verifyAll(); }
public void saveAs(final String filename) throws IOException { this.saveAs(new File(filename)); }
AnonymousOdsFileWriter { public void saveAs(final String filename) throws IOException { this.saveAs(new File(filename)); } }
AnonymousOdsFileWriter { public void saveAs(final String filename) throws IOException { this.saveAs(new File(filename)); } AnonymousOdsFileWriter(final Logger logger, final AnonymousOdsDocument document); }
AnonymousOdsFileWriter { public void saveAs(final String filename) throws IOException { this.saveAs(new File(filename)); } AnonymousOdsFileWriter(final Logger logger, final AnonymousOdsDocument document); OdsDocument document(); void save(final OutputStream out); @Deprecated void save(final OutputStream out, final ZipUTF8WriterBuilderImpl builder); void save(final ZipUTF8Writer writer); void saveAs(final String filename); void saveAs(final File file); void saveAs(final String filename, final ZipUTF8WriterBuilder builder); void saveAs(final File file, final ZipUTF8WriterBuilder builder); }
AnonymousOdsFileWriter { public void saveAs(final String filename) throws IOException { this.saveAs(new File(filename)); } AnonymousOdsFileWriter(final Logger logger, final AnonymousOdsDocument document); OdsDocument document(); void save(final OutputStream out); @Deprecated void save(final OutputStream out, final ZipUTF8WriterBuilderImpl builder); void save(final ZipUTF8Writer writer); void saveAs(final String filename); void saveAs(final File file); void saveAs(final String filename, final ZipUTF8WriterBuilder builder); void saveAs(final File file, final ZipUTF8WriterBuilder builder);  }