Class PathSerializer

java.lang.Object
com.e1c.langtool.collector.PathSerializer
All Implemented Interfaces:
Serializable, org.mapdb.Serializer<org.eclipse.core.runtime.IPath>

public class PathSerializer extends Object implements org.mapdb.Serializer<org.eclipse.core.runtime.IPath>, Serializable
The serializer of IPath for MapDB.
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.mapdb.Serializer

    org.mapdb.Serializer.CompressionWrapper<E extends Object>
  • Field Summary

    Fields inherited from interface org.mapdb.Serializer

    BASIC, BOOLEAN, BYTE_ARRAY, BYTE_ARRAY_NOSIZE, CHAR_ARRAY, DOUBLE_ARRAY, ILLEGAL_ACCESS, INT_ARRAY, INTEGER, JAVA, LONG, LONG_ARRAY, STRING, STRING_ASCII, STRING_INTERN, STRING_NOSIZE, UUID
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.eclipse.core.runtime.IPath
    deserialize(DataInput in, int available)
     
    int
     
    void
    serialize(DataOutput out, org.eclipse.core.runtime.IPath path)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PathSerializer

      public PathSerializer()
  • Method Details

    • serialize

      public void serialize(DataOutput out, org.eclipse.core.runtime.IPath path) throws IOException
      Specified by:
      serialize in interface org.mapdb.Serializer<org.eclipse.core.runtime.IPath>
      Throws:
      IOException
    • deserialize

      public org.eclipse.core.runtime.IPath deserialize(DataInput in, int available) throws IOException
      Specified by:
      deserialize in interface org.mapdb.Serializer<org.eclipse.core.runtime.IPath>
      Throws:
      IOException
    • fixedSize

      public int fixedSize()
      Specified by:
      fixedSize in interface org.mapdb.Serializer<org.eclipse.core.runtime.IPath>