Class StringFile

java.lang.Object
org.apache.jena.tdb1.base.objectfile.StringFile
All Implemented Interfaces:
org.apache.jena.atlas.lib.Closeable, org.apache.jena.atlas.lib.Sync

public class StringFile extends Object implements org.apache.jena.atlas.lib.Sync, org.apache.jena.atlas.lib.Closeable
Wrap a ObjectFile with a string encoder/decoder. Controls the UTF encoder/decoder and is not limited to 64K byte encoded forms.
  • Field Details

  • Constructor Details

  • Method Details

    • write

      public long write(String str)
    • read

      public String read(long id)
    • close

      public void close()
      Specified by:
      close in interface org.apache.jena.atlas.lib.Closeable
    • sync

      public void sync()
      Specified by:
      sync in interface org.apache.jena.atlas.lib.Sync
    • flush

      public void flush()
    • getByteBufferFile

      public ObjectFile getByteBufferFile()
    • dump

      public void dump()
    • dump

      public void dump(StringFile.DumpHandler handler)