org.crsh.vfs
Class Handle<H>

java.lang.Object
  extended by org.crsh.vfs.Handle<H>

 class Handle<H>
extends Object


Field Summary
private  FSDriver<H> driver
          .
(package private)  H handle
          .
(package private)  String name
          .
 
Constructor Summary
Handle(FSDriver<H> driver, H handle)
           
 
Method Summary
(package private)  Iterable<Handle<H>> children()
           
(package private)  long getLastModified()
           
(package private)  Resource getResource()
           
(package private)  Iterator<Resource> getResources()
           
private  InputStream open()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

driver

private final FSDriver<H> driver
.


name

final String name
.


handle

final H handle
.

Constructor Detail

Handle

Handle(FSDriver<H> driver,
       H handle)
 throws IOException
Throws:
IOException
Method Detail

children

Iterable<Handle<H>> children()
                       throws IOException
Throws:
IOException

getResource

Resource getResource()
               throws IOException
Throws:
IOException

getResources

Iterator<Resource> getResources()
                          throws IOException
Throws:
IOException

open

private InputStream open()
                  throws IOException
Throws:
IOException

getLastModified

long getLastModified()
               throws IOException
Throws:
IOException


Copyright © 2015 eXo Platform SAS. All Rights Reserved.