org.objectweb.jonas_lib.files
Class FileContent

java.lang.Object
  extended byorg.objectweb.jonas_lib.files.FileContent
All Implemented Interfaces:
java.io.Serializable

public class FileContent
extends java.lang.Object
implements java.io.Serializable

Wrap an array of bytes for sending a file Signature of JMX commons modeler should be objects

Author:
Florent Benoit
See Also:
Serialized Form

Constructor Summary
FileContent(byte[] content)
          Build a new File with the given bytes
 
Method Summary
 byte[] getContent()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileContent

public FileContent(byte[] content)
Build a new File with the given bytes

Parameters:
content - the bytes of the file
Method Detail

getContent

public byte[] getContent()
Returns:
bytes of this file content