org.gwe.drivers.fileSystems.handles
Class HTTPHandle
java.lang.Object
   org.gwe.drivers.ResourceHandle
org.gwe.drivers.ResourceHandle
       org.gwe.drivers.fileSystems.FileHandle
org.gwe.drivers.fileSystems.FileHandle
           org.gwe.drivers.fileSystems.handles.HTTPHandle
org.gwe.drivers.fileSystems.handles.HTTPHandle
- public class HTTPHandle 
- extends FileHandle
- Since:
- May 25, 2008
- Author:
- Marco Ruiz
 
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
HTTPHandle
public HTTPHandle(ResourceLink<FileHandle> link)
createFolder
public void createFolder()
                  throws HandleOperationException
- 
- Specified by:
- createFolderin class- FileHandle
 
- 
- Throws:
- HandleOperationException
 
exists
public boolean exists()
               throws HandleOperationException
- 
- Specified by:
- existsin class- FileHandle
 
- 
- Throws:
- HandleOperationException
 
getChildren
public FileHandle[] getChildren()
                         throws HandleOperationException
- Description copied from class: FileHandle
- The equivalent of "ls" in a directory.
 
- 
- Specified by:
- getChildrenin class- FileHandle
 
- 
- Returns:
- a list of files in the directory.
- Throws:
- HandleOperationException- - system-level error.
 
getInputStream
public java.io.InputStream getInputStream()
                                   throws HandleOperationException
- 
- Specified by:
- getInputStreamin class- FileHandle
 
- 
- Throws:
- HandleOperationException
 
getOutputStream
public java.io.OutputStream getOutputStream()
                                     throws HandleOperationException
- 
- Specified by:
- getOutputStreamin class- FileHandle
 
- 
- Throws:
- HandleOperationException
 
getSize
public long getSize()
             throws HandleOperationException
- 
- Specified by:
- getSizein class- FileHandle
 
- 
- Returns:
- number of bytes in the file
- Throws:
- HandleOperationException- - system-level error.
 
isDirectory
public boolean isDirectory()
                    throws HandleOperationException
- 
- Specified by:
- isDirectoryin class- FileHandle
 
- 
- Returns:
- is this a directory?
- Throws:
- HandleOperationException- - system-level error.
 
main
public static void main(java.lang.String[] args)
- 
 
Copyright © 2007-2009. All Rights Reserved.