org.javasign.util
Class ContentInfo

java.lang.Object
  |
  +--org.javasign.util.ContentInfo

public class ContentInfo
extends java.lang.Object


Constructor Summary
ContentInfo(byte[] content)
           
ContentInfo(java.lang.String name, byte[] content)
           
ContentInfo(java.lang.String name, byte[] content, java.util.Date time)
           
 
Method Summary
 byte[] getContent()
           
 java.lang.String getName()
           
 java.util.Date getTime()
           
 void setContent(byte[] content)
           
 void setName(java.lang.String name)
           
 void setTime(java.util.Date time)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ContentInfo

public ContentInfo(byte[] content)

ContentInfo

public ContentInfo(java.lang.String name,
                   byte[] content)

ContentInfo

public ContentInfo(java.lang.String name,
                   byte[] content,
                   java.util.Date time)
Method Detail

getTime

public java.util.Date getTime()

setTime

public void setTime(java.util.Date time)

getContent

public byte[] getContent()

setContent

public void setContent(byte[] content)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object