|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.armatiek.infofuze.stream.filesystem.AbstractFile com.armatiek.infofuze.stream.filesystem.ProxyFile com.armatiek.infofuze.stream.filesystem.compression.gzip.GzipArchiveFileEntry
public class GzipArchiveFileEntry
An representation of a file entry within a GZIP archive file.
Constructor Summary | |
---|---|
GzipArchiveFileEntry(ArchiveFile archiveFile,
java.io.InputStream is)
|
Method Summary | |
---|---|
java.io.InputStream |
getInputStream()
Returns the contents of the file as a byte stream. |
java.lang.String |
getName()
Returns the name of the file. |
java.lang.String |
getParent()
Returns the path of the parent of the file. |
FileIf |
getParentFile()
Returns the parent of the file. |
boolean |
isDirectory()
Tests whether the file denoted by this abstract pathname is a directory. |
boolean |
isFile()
Tests whether this file is a normal file. |
java.util.Iterator<FileIf> |
listFiles()
Returns an iterator of files and directories in the directory denoted by this file. |
Methods inherited from class com.armatiek.infofuze.stream.filesystem.ProxyFile |
---|
canRead, exists, getMimeType, getPath, hasContent, isHidden, lastModified, length |
Methods inherited from class com.armatiek.infofuze.stream.filesystem.AbstractFile |
---|
getCharacterEncoding |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.armatiek.infofuze.stream.filesystem.FileIf |
---|
equals |
Constructor Detail |
---|
public GzipArchiveFileEntry(ArchiveFile archiveFile, java.io.InputStream is)
Method Detail |
---|
public java.lang.String getName()
FileIf
getName
in interface FileIf
getName
in class ProxyFile
public java.io.InputStream getInputStream() throws java.io.IOException
FileIf
getInputStream
in interface FileIf
getInputStream
in class ProxyFile
java.io.IOException
public java.lang.String getParent()
FileIf
getParent
in interface FileIf
getParent
in class ProxyFile
public FileIf getParentFile()
FileIf
getParentFile
in interface FileIf
getParentFile
in class ProxyFile
public boolean isDirectory()
FileIf
isDirectory
in interface FileIf
isDirectory
in class ProxyFile
public boolean isFile()
FileIf
isFile
in interface FileIf
isFile
in class ProxyFile
public java.util.Iterator<FileIf> listFiles()
FileIf
listFiles
in interface FileIf
listFiles
in class ProxyFile
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |