com.maverick.sshd.fs
Interface AbstractFileRandomAccess


public interface AbstractFileRandomAccess


Method Summary
 void close()
           
 long getFilePointer()
           
 int read(byte[] buf, int off, int len)
           
 void seek(long position)
           
 void setLength(long length)
           
 void write(byte[] buf, int off, int len)
           
 

Method Detail

read

int read(byte[] buf,
         int off,
         int len)
         throws IOException
Throws:
IOException

write

void write(byte[] buf,
           int off,
           int len)
           throws IOException
Throws:
IOException

setLength

void setLength(long length)
               throws IOException
Throws:
IOException

seek

void seek(long position)
          throws IOException
Throws:
IOException

close

void close()
           throws IOException
Throws:
IOException

getFilePointer

long getFilePointer()
                    throws IOException
Throws:
IOException


Copyright © 2012. All Rights Reserved.