com.ptc.windchill.counterpart
Class SerializedAttachment
java.lang.Object
com.ptc.windchill.counterpart.SerializedAttachment
- All Implemented Interfaces:
- nitidus.sil.be.att.iAttachedContentIO, Serializable
- public class SerializedAttachment
- extends Object
- implements nitidus.sil.be.att.iAttachedContentIO, Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fKey
private String fKey
fLastModified
private long fLastModified
fBytes
private byte[] fBytes
fVersion
private long fVersion
SerializedAttachment
public SerializedAttachment(nitidus.sil.be.att.iAttachedContentIO attachment,
long version)
throws IOException
SerializedAttachment
public SerializedAttachment(String attachmentToDelete,
long version)
throws IOException
SerializedAttachment
public SerializedAttachment(AttachmentLocator attachmentLocator)
throws IOException
getKey
public String getKey()
- Specified by:
getKey
in interface nitidus.sil.be.att.iAttachedContentIO
- See Also:
iAttachedContentIO
getLastModified
public long getLastModified()
- Specified by:
getLastModified
in interface nitidus.sil.be.att.iAttachedContentIO
- See Also:
iAttachedContentIO
getContentStream
public InputStream getContentStream()
throws IOException
- Specified by:
getContentStream
in interface nitidus.sil.be.att.iAttachedContentIO
- Throws:
IOException
- See Also:
iAttachedContentIO
getVersion
public long getVersion()
getLength
public long getLength()
setBytes
private void setBytes(InputStream is)
throws IOException
- Throws:
IOException