org.wymiwyg.commons.util.dirbrowser
Interface PathNode
- All Known Implementing Classes:
- FilePathNode, MultiPathNode, ZipPathNode
public interface PathNode
- Author:
- reto
getSubPath
PathNode getSubPath(String requestPath)
- Parameters:
requestPath -
- Returns:
isDirectory
boolean isDirectory()
- Returns:
list
String[] list(PathNameFilter filter)
- Parameters:
filter -
- Returns:
list
String[] list()
- Returns:
getInputStream
InputStream getInputStream()
throws IOException
- Returns:
-
- Throws:
IOException
getLength
long getLength()
- Returns:
- the size of the entry or -1
getPath
String getPath()
- Returns:
- a slash separated string representation of this path
getLastModified
Date getLastModified()
- Returns:
- the date of last modification, or if unavailable creation, or null
exists
boolean exists()
- Returns:
- true if the PathNode points to an existing entity.
Copyright © 2011. All Rights Reserved.