dan200.computer.api
Interface IMount

All Known Subinterfaces:
IWritableMount

public interface IMount

TODO: Document me


Method Summary
 boolean exists(java.lang.String path)
           
 long getSize(java.lang.String path)
           
 boolean isDirectory(java.lang.String path)
           
 void list(java.lang.String path, java.util.List<java.lang.String> contents)
           
 java.io.InputStream openForRead(java.lang.String path)
           
 

Method Detail

exists

boolean exists(java.lang.String path)
               throws java.io.IOException
Throws:
java.io.IOException

isDirectory

boolean isDirectory(java.lang.String path)
                    throws java.io.IOException
Throws:
java.io.IOException

list

void list(java.lang.String path,
          java.util.List<java.lang.String> contents)
          throws java.io.IOException
Throws:
java.io.IOException

getSize

long getSize(java.lang.String path)
             throws java.io.IOException
Throws:
java.io.IOException

openForRead

java.io.InputStream openForRead(java.lang.String path)
                                throws java.io.IOException
Throws:
java.io.IOException