|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.fatwire.agent.ItemProxy
public class ItemProxy
Item proxy. This class is used to store proxy information extracted from IItem by "proxymaker" facility during the IProxyMaker.ExractMetadata() call. A proxy is a low-resolution image describing an item, e.g. a thumbnail for images or the first page for PDF files. It could be one of ProxyType type.
Constructor Summary | |
---|---|
ItemProxy(java.lang.String majortype,
java.lang.String minortype,
byte[] bytes)
Constructor. |
Method Summary | |
---|---|
byte[] |
getBytes()
Returns this proxy bytes; |
java.lang.String |
getMajortype()
Gets the major part of the MIME type of this proxy, e.g. |
java.lang.String |
getMinortype()
Gets the minor part of the MIME type of this proxy, e.g. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ItemProxy(java.lang.String majortype, java.lang.String minortype, byte[] bytes)
majortype
- MIME major type of this proxy, e.g. "image" for "image/jpeg".minortype
- MIME minor type of this proxy, e.g. "jpeg" for "image/jpeg".proxy
- data in bytes.Method Detail |
---|
public java.lang.String getMajortype()
public java.lang.String getMinortype()
public byte[] getBytes()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |