org.deepfs.fsml
Class DeepFile.Content

java.lang.Object
  extended by org.deepfs.fsml.DeepFile.Content
Enclosing class:
DeepFile

public static final class DeepFile.Content
extends Object

File content.

Author:
Bastian Lemke

Constructor Summary
DeepFile.Content(long pos, int byteCount, String text)
          Constructor.
 
Method Summary
 String getContent()
          Returns the content.
 long getOffset()
          Returns the offset.
 int getSize()
          Returns the size.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeepFile.Content

public DeepFile.Content(long pos,
                        int byteCount,
                        String text)
Constructor.

Parameters:
pos - offset inside the regular file
byteCount - size of the text section (byte count)
text - the content
Method Detail

getOffset

public long getOffset()
Returns the offset.

Returns:
the offset

getSize

public int getSize()
Returns the size.

Returns:
the size

getContent

public String getContent()
Returns the content.

Returns:
the content