Package org.citydb.file.output
Class ZipOutputFile
- java.lang.Object
-
- org.citydb.file.OutputFile
-
- org.citydb.file.output.AbstractArchiveOutputFile
-
- org.citydb.file.output.ZipOutputFile
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class ZipOutputFile extends AbstractArchiveOutputFile
-
-
Field Summary
-
Fields inherited from class org.citydb.file.OutputFile
file, type
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
createDirectories(java.lang.String path)
java.io.OutputStream
newOutputStream(java.lang.String file)
java.io.OutputStream
openStream()
java.lang.String
resolve(java.lang.String... paths)
-
Methods inherited from class org.citydb.file.output.AbstractArchiveOutputFile
getContentFile
-
Methods inherited from class org.citydb.file.OutputFile
getFile, getType
-
-
-
-
Method Detail
-
openStream
public java.io.OutputStream openStream() throws java.io.IOException
- Specified by:
openStream
in classOutputFile
- Throws:
java.io.IOException
-
resolve
public java.lang.String resolve(java.lang.String... paths)
- Specified by:
resolve
in classOutputFile
-
newOutputStream
public java.io.OutputStream newOutputStream(java.lang.String file) throws java.io.IOException
- Specified by:
newOutputStream
in classOutputFile
- Throws:
java.io.IOException
-
createDirectories
public void createDirectories(java.lang.String path)
- Specified by:
createDirectories
in classOutputFile
-
close
public void close() throws java.io.IOException
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in classOutputFile
- Throws:
java.io.IOException
-
-