|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FileEntry
An Entry that corresponds to a file.
| Method Summary | |
|---|---|
InputStream |
getInputStream()
Returns the contents of the entry. |
long |
getSize()
Returns the size in bytes of the entry. |
| Methods inherited from interface org.codehaus.mojo.mrm.api.Entry |
|---|
getFileSystem, getLastModified, getName, getParent, toPath |
| Method Detail |
|---|
long getSize()
throws IOException
-1L if the length cannot be determined.
IOException - if an I/O error occurs.
InputStream getInputStream()
throws IOException
InputStream (caller is responsible for closing).
IOException - if an I/O error occurs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||