Class VisorDataTransferObject

    • Constructor Detail

      • VisorDataTransferObject

        public VisorDataTransferObject()
        Deprecated.
    • Method Detail

      • toList

        @Nullable
        protected static <T> @Nullable List<T> toList​(Collection<T> col)
        Deprecated.
        Type Parameters:
        T - Collection type.
        Parameters:
        col - Source collection.
        Returns:
        List based on passed collection.
      • toSet

        @Nullable
        protected static <T> @Nullable Set<T> toSet​(Collection<T> col)
        Deprecated.
        Type Parameters:
        T - Collection type.
        Parameters:
        col - Source collection.
        Returns:
        List based on passed collection.
      • getProtocolVersion

        public byte getProtocolVersion()
        Deprecated.
        Returns:
        Transfer object version.
      • writeExternalData

        protected abstract void writeExternalData​(ObjectOutput out)
                                           throws IOException
        Deprecated.
        Save object's specific data content.
        Parameters:
        out - Output object to write data content.
        Throws:
        IOException - If I/O errors occur.
      • readExternalData

        protected abstract void readExternalData​(byte protoVer,
                                                 ObjectInput in)
                                          throws IOException,
                                                 ClassNotFoundException
        Deprecated.
        Load object's specific data content.
        Parameters:
        protoVer - Input object version.
        in - Input object to load data content.
        Throws:
        IOException - If I/O errors occur.
        ClassNotFoundException - If the class for an object being restored cannot be found.