protected class MockContentStoreProvider.MemoryContentPointer extends Object implements ContentPointer
Constructor and Description |
---|
MemoryContentPointer(String namespace,
String id,
byte[] bytes) |
Modifier and Type | Method and Description |
---|---|
String |
getExternalUri()
Get an externally accessible Uri for the data.
|
String |
getId()
Get the unique id for the content.
|
long |
getLastModified()
Get the last modified time for the resource for this pointer.
|
long |
getSize()
Returns the size of the content pointer's content in bytes or -1 if unknown.
|
String |
getStoreName()
Get the name of the store this pointer can be retrieved in.
|
InputStream |
getStream()
Get as an InputStream for reading.
|
public InputStream getStream()
ContentPointer
getStream
in interface ContentPointer
public long getSize()
ContentPointer
getSize
in interface ContentPointer
public String getId()
getId
in interface ContentPointer
public String getStoreName()
getStoreName
in interface ContentPointer
public String getExternalUri()
getExternalUri
in interface ContentPointer
public long getLastModified()
getLastModified
in interface ContentPointer
Copyright © 2018 Attivio, Inc. All Rights Reserved.
PATENT NOTICE: Attivio, Inc. Software Related Patents. With respect to the Attivio software product(s) being used, the following patents apply: Querying Joined Data Within A Search Engine Index: United States Patent No.(s): 8,073,840. Ordered Processing of Groups of Messages: U.S. Patent No.(s) 8,495,656. Signal processing approach to sentiment analysis for entities in documents: U.S. Patent No.(s) 8,725,494. Other U.S. and International Patents Pending.