|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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 FileIfgetName in class ProxyFile
public java.io.InputStream getInputStream()
throws java.io.IOException
FileIf
getInputStream in interface FileIfgetInputStream in class ProxyFilejava.io.IOExceptionpublic java.lang.String getParent()
FileIf
getParent in interface FileIfgetParent in class ProxyFilepublic FileIf getParentFile()
FileIf
getParentFile in interface FileIfgetParentFile in class ProxyFilepublic boolean isDirectory()
FileIf
isDirectory in interface FileIfisDirectory in class ProxyFilepublic boolean isFile()
FileIf
isFile in interface FileIfisFile in class ProxyFilepublic java.util.Iterator<FileIf> listFiles()
FileIf
listFiles in interface FileIflistFiles in class ProxyFile
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||