org.openspaces.pu.container.support
Class WebsterFile
java.lang.Object
java.io.File
org.openspaces.pu.container.support.WebsterFile
- All Implemented Interfaces:
- Serializable, Comparable<File>
public class WebsterFile
- extends File
Not an actual file. Simply wraps a URL over webster (GSM http server)
inorder to allow to utilize listing of "files" over webster.
- Author:
- kimchy
- See Also:
- Serialized Form
Methods inherited from class java.io.File |
canRead, canWrite, compareTo, createNewFile, createTempFile, createTempFile, delete, deleteOnExit, equals, getCanonicalFile, getCanonicalPath, getParent, getParentFile, hashCode, isHidden, length, list, list, listFiles, listFiles, listRoots, mkdir, mkdirs, renameTo, setLastModified, setReadOnly, toString, toURI |
WebsterFile
public WebsterFile(URL url)
getName
public String getName()
- Overrides:
getName
in class File
toURL
public URL toURL()
throws MalformedURLException
- Overrides:
toURL
in class File
- Throws:
MalformedURLException
getPath
public String getPath()
- Overrides:
getPath
in class File
getAbsolutePath
public String getAbsolutePath()
- Overrides:
getAbsolutePath
in class File
getAbsoluteFile
public File getAbsoluteFile()
- Overrides:
getAbsoluteFile
in class File
exists
public boolean exists()
- Overrides:
exists
in class File
isDirectory
public boolean isDirectory()
- Overrides:
isDirectory
in class File
isAbsolute
public boolean isAbsolute()
- Overrides:
isAbsolute
in class File
listFiles
public File[] listFiles()
- Overrides:
listFiles
in class File
isFile
public boolean isFile()
- Overrides:
isFile
in class File
lastModified
public long lastModified()
- Overrides:
lastModified
in class File
Copyright © GigaSpaces.