|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectproguard.io.FileDataEntry
public class FileDataEntry
This DataEntry represents a file.
| Constructor Summary | |
|---|---|
FileDataEntry(java.io.File directory,
java.io.File file)
|
|
| Method Summary | |
|---|---|
void |
closeInputStream()
Closes the previously retrieved InputStream. |
java.io.InputStream |
getInputStream()
Returns an input stream for reading the content of this data entry. |
java.lang.String |
getName()
Returns the name of this data entry. |
DataEntry |
getParent()
Returns the parent of this data entry, or null if it doesn't
have one. |
boolean |
isDirectory()
Returns whether the data entry represents a directory. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FileDataEntry(java.io.File directory,
java.io.File file)
| Method Detail |
|---|
public java.lang.String getName()
DataEntry
getName in interface DataEntrypublic boolean isDirectory()
DataEntry
isDirectory in interface DataEntry
public java.io.InputStream getInputStream()
throws java.io.IOException
DataEntry
getInputStream in interface DataEntryjava.io.IOException
public void closeInputStream()
throws java.io.IOException
DataEntry
closeInputStream in interface DataEntryjava.io.IOExceptionpublic DataEntry getParent()
DataEntrynull if it doesn't
have one.
- Specified by:
getParent in interface DataEntry
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||