org.xcmis.search.content
Class Property.BinaryValue

java.lang.Object
  extended by org.xcmis.search.content.Property.ContentValue<InputStream>
      extended by org.xcmis.search.content.Property.BinaryValue
Enclosing class:
Property<V>

public static class Property.BinaryValue
extends Property.ContentValue<InputStream>


Constructor Summary
Property.BinaryValue(InputStream value, String mimeType, String encoding, long length)
           
 
Method Summary
 String getEncoding()
           
 long getLength()
           
 String getMimeType()
           
 InputStream getValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Property.BinaryValue

public Property.BinaryValue(InputStream value,
                            String mimeType,
                            String encoding,
                            long length)
Parameters:
value -
Method Detail

getMimeType

public String getMimeType()
Returns:
the mimeType

getEncoding

public String getEncoding()
Returns:
the encoding

getValue

public InputStream getValue()
Specified by:
getValue in class Property.ContentValue<InputStream>
Returns:
value of the property.
See Also:
Property.ContentValue.getValue()

getLength

public long getLength()
Overrides:
getLength in class Property.ContentValue<InputStream>
Returns:
the length of the value.
See Also:
Property.ContentValue.getLength()


Copyright © 2010 eXo Platform SAS. All Rights Reserved.