Package org.citydb.file.input
Class ZipInputFile
- java.lang.Object
-
- org.citydb.file.InputFile
-
- org.citydb.file.input.AbstractArchiveInputFile
-
- org.citydb.file.input.ZipInputFile
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class ZipInputFile extends AbstractArchiveInputFile
-
-
Field Summary
-
Fields inherited from class org.citydb.file.InputFile
APPLICATION_GZIP, APPLICATION_JSON, APPLICATION_XML, APPLICATION_ZIP, file, mediaType, type
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
java.lang.String
getSeparator()
java.io.InputStream
openStream()
java.nio.file.Path
resolve(java.lang.String path)
-
Methods inherited from class org.citydb.file.input.AbstractArchiveInputFile
getContentFile
-
Methods inherited from class org.citydb.file.InputFile
getFile, getMediaType, getType
-
-
-
-
Method Detail
-
openStream
public java.io.InputStream openStream() throws java.io.IOException
- Specified by:
openStream
in classInputFile
- Throws:
java.io.IOException
-
resolve
public java.nio.file.Path resolve(java.lang.String path) throws java.nio.file.InvalidPathException
-
getSeparator
public java.lang.String getSeparator()
- Specified by:
getSeparator
in classInputFile
-
-