|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.binaryfantasy.murq.content.ContentAdapter
com.binaryfantasy.murq.content.BinaryContentAdapter
public class BinaryContentAdapter
Provides default implementation of the methods described in the
IBinaryContent interface.
| Constructor Summary | |
|---|---|
BinaryContentAdapter()
|
|
| Method Summary | |
|---|---|
Set<String> |
defaultProperties()
Returns a Set of properties that should be concatenated
together for default searching as a whole. |
long |
getByteCount()
Returns the number of bytes in the binary content. |
String |
getFilename()
Returns the original filename of the binary content. |
Set<String> |
keywordProperties()
Returns a Set of properties that are not tokenized, but
are indexed. |
void |
setByteCount(long byteCount)
Sets the number of bytes in the binary content. |
void |
setFilename(String filename)
Sets the original filename of the binary content. |
String |
toString()
|
| Methods inherited from class com.binaryfantasy.murq.content.ContentAdapter |
|---|
getContentId, getCreationDate, getLastModifiedDate, getLocale, setContentId, setCreationDate, setLastModifiedDate, setLocale, textProperties |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.binaryfantasy.murq.content.IContent |
|---|
getContentId, getCreationDate, getLastModifiedDate, getLocale, setContentId, setCreationDate, setLastModifiedDate, setLocale |
| Constructor Detail |
|---|
public BinaryContentAdapter()
| Method Detail |
|---|
public void setByteCount(long byteCount)
IBinaryContentFOR INTERNAL USE ONLY.
setByteCount in interface IBinaryContentbyteCount - the number of bytes in the content.public long getByteCount()
IBinaryContent
getByteCount in interface IBinaryContentpublic void setFilename(String filename)
IBinaryContent
setFilename in interface IBinaryContentfilename - the original filename of the binary content.public String getFilename()
IBinaryContent
getFilename in interface IBinaryContentpublic Set<String> keywordProperties()
IIndexableSet of properties that are not tokenized, but
are indexed.
keywordProperties in interface IIndexablekeywordProperties in class ContentAdapterSet of properties that are not tokenized, but
are indexed.public Set<String> defaultProperties()
IIndexableSet of properties that should be concatenated
together for default searching as a whole.
defaultProperties in interface IIndexabledefaultProperties in class ContentAdapterSet of properties that should be concatenated
together for default searching as a whole.public String toString()
toString in class ContentAdapter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||