|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.wst.jsdt.internal.core.search.indexing.InternalSearchDocument
org.eclipse.wst.jsdt.core.search.SearchDocument
org.eclipse.wst.jsdt.web.core.javascript.search.NullSearchDocument
public class NullSearchDocument
Provisional API: This class/interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves. An empty servlet, safe for Java search participation
Constructor Summary | |
---|---|
NullSearchDocument(java.lang.String documentPath)
|
Method Summary | |
---|---|
byte[] |
getByteContents()
Returns the contents of this document. |
char[] |
getCharContents()
Returns the contents of this document. |
java.lang.String |
getEncoding()
Returns the encoding for this document. |
Methods inherited from class org.eclipse.wst.jsdt.core.search.SearchDocument |
---|
addIndexEntry, getJavaElement, getParticipant, getPath, isVirtual, removeAllIndexEntries |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NullSearchDocument(java.lang.String documentPath)
Method Detail |
---|
public byte[] getByteContents()
SearchDocument
This method must be implemented in subclasses.
Note: some implementation may choose to cache the contents directly on the document for performance reason. However, this could induce scalability issues due to the fact that collections of documents are manipulated throughout the search operation, and cached contents would then consume lots of memory until they are all released at once in the end.
getByteContents
in class SearchDocument
null
if nonepublic char[] getCharContents()
SearchDocument
This method must be implemented in subclasses.
Note: some implementation may choose to cache the contents directly on the document for performance reason. However, this could induce scalability issues due to the fact that collections of documents are manipulated throughout the search operation, and cached contents would then consume lots of memory until they are all released at once in the end.
getCharContents
in class SearchDocument
null
if nonepublic java.lang.String getEncoding()
SearchDocument
This method must be implemented in subclasses.
getEncoding
in class SearchDocument
null
if none
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |