rossi.fstools.fs.ext2fs
Class Ext2FastSymLink

java.lang.Object
  extended byrossi.fstools.fs.ext2fs.Ext2FastSymLink
All Implemented Interfaces:
FsObject, SymLink

public class Ext2FastSymLink
extends java.lang.Object
implements SymLink

Fast implementation of SymLink. On EXT2, symlinks less than 60 bytes long may be stored in the Inode, reusing the block pointers. This class handles that case.


Constructor Summary
Ext2FastSymLink(Ext2Inode inode)
          Create a Symlink from an Inode.
 
Method Summary
 java.lang.String getLink()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Ext2FastSymLink

public Ext2FastSymLink(Ext2Inode inode)
                throws java.io.IOException
Create a Symlink from an Inode.

Parameters:
inode - a Ext2Inode
Throws:
java.io.IOException
Method Detail

getLink

public java.lang.String getLink()
Specified by:
getLink in interface SymLink