/** * */ protected void setupObjectList() { objectList.add(new ByteArraySizeTerminated(DataTypes.OBJ_DATA, this)); } }
/** * Write contents to a byte array * * @return a byte array that that contians the data that should be perisisted to file */ public byte[] writeByteArray() { logger.info("Writing byte array" + this.getIdentifier()); return (byte[]) value; } }
/** * Because this is usually binary data and could be very long we just return * the number of bytes held * * @return the number of bytes */ public String toString() { return getSize() + " bytes"; }
/** * Setup the Object List. A byte Array which will be read upto frame size * bytes. */ protected void setupObjectList() { objectList.add(new ByteArraySizeTerminated(DataTypes.OBJ_DATA, this)); }
/** * Because this is usually binary data and could be very long we just return * the number of bytes held * * @return the number of bytes */ public String toString() { return getSize() + " bytes"; }
/** * Write contents to a byte array * * @return a byte array that that contians the data that should be perisisted to file */ public byte[] writeByteArray() { logger.config("Writing byte array" + this.getIdentifier()); return (byte[]) value; } }
/** * Setup the Object List. A byte Array which will be read upto frame size * bytes. */ protected void setupObjectList() { objectList.add(new ByteArraySizeTerminated(DataTypes.OBJ_DATA, this)); }
/** * Because this is usually binary data and could be very long we just return * the number of bytes held * * @return the number of bytes */ public String toString() { return getSize() + " bytes"; }
/** * */ protected void setupObjectList() { objectList.add(new ByteArraySizeTerminated(DataTypes.OBJ_DATA, this)); } }
/** * */ protected void setupObjectList() { objectList.add(new ByteArraySizeTerminated(DataTypes.OBJ_DATA, this)); } }
/** * TODO:proper mapping */ protected void setupObjectList() { objectList.add(new ByteArraySizeTerminated(DataTypes.OBJ_DATA, this)); } }
/** * TODO:proper mapping */ protected void setupObjectList() { objectList.add(new ByteArraySizeTerminated(DataTypes.OBJ_DATA, this)); } }
/** * TODO:proper mapping */ protected void setupObjectList() { objectList.add(new ByteArraySizeTerminated(DataTypes.OBJ_DATA, this)); } }
/** * */ protected void setupObjectList() { objectList.add(new ByteArraySizeTerminated(DataTypes.OBJ_DATA, this)); } }
/** * TODO:proper mapping */ protected void setupObjectList() { objectList.add(new ByteArraySizeTerminated(DataTypes.OBJ_DATA, this)); }
/** * Setup the Object List. A byte Array which will be read upto frame size * bytes. */ protected void setupObjectList() { objectList.add(new ByteArraySizeTerminated(DataTypes.OBJ_DATA, this)); } }
/** * TODO:proper mapping */ protected void setupObjectList() { objectList.add(new ByteArraySizeTerminated(DataTypes.OBJ_DATA, this)); }
/** * */ protected void setupObjectList() { objectList.add(new ByteArraySizeTerminated(DataTypes.OBJ_DATA, this)); } }
/** * Setup the Object List. A byte Array which will be read upto frame size * bytes. */ protected void setupObjectList() { objectList.add(new ByteArraySizeTerminated(DataTypes.OBJ_DATA, this)); }
/** * Setup the Object List. A byte Array which will be read upto frame size * bytes. */ protected void setupObjectList() { objectList.add(new ByteArraySizeTerminated(DataTypes.OBJ_DATA, this)); }