GigaSpaces XAP 10.0.1 API

org.openspaces.pu.container.support
Class WebsterFile

java.lang.Object
  extended by java.io.File
      extended by 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

Field Summary
 
Fields inherited from class java.io.File
pathSeparator, pathSeparatorChar, separator, separatorChar
 
Constructor Summary
WebsterFile(URL url)
           
 
Method Summary
 boolean exists()
           
 File getAbsoluteFile()
           
 String getAbsolutePath()
           
 String getName()
           
 String getPath()
           
 boolean isAbsolute()
           
 boolean isDirectory()
           
 boolean isFile()
           
 long lastModified()
           
 File[] listFiles()
           
 URL toURL()
           
 
Methods inherited from class java.io.File
canExecute, canRead, canWrite, compareTo, createNewFile, createTempFile, createTempFile, delete, deleteOnExit, equals, getCanonicalFile, getCanonicalPath, getFreeSpace, getParent, getParentFile, getTotalSpace, getUsableSpace, hashCode, isHidden, length, list, list, listFiles, listFiles, listRoots, mkdir, mkdirs, renameTo, setExecutable, setExecutable, setLastModified, setReadable, setReadable, setReadOnly, setWritable, setWritable, toString, toURI
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WebsterFile

public WebsterFile(URL url)
Method Detail

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

GigaSpaces XAP 10.0.1 API

Copyright © GigaSpaces.