org.netbeans.modules.parsing.api/1 1.55.0 6

org.netbeans.modules.parsing.spi.indexing.support
Class IndexResult

java.lang.Object
  extended by org.netbeans.modules.parsing.spi.indexing.support.IndexResult

public final class IndexResult
extends Object


Method Summary
 FileObject getFile()
           
 Indexable getIndexable()
          Gets Indexable for this result.
 String getRelativePath()
           
 URL getRoot()
           
 URL getUrl()
           
 String getValue(String key)
           
 String[] getValues(String key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getValue

public String getValue(String key)

getValues

public String[] getValues(String key)

getUrl

public URL getUrl()

getFile

public FileObject getFile()

getRelativePath

public String getRelativePath()
Since:
1.9

getRoot

public URL getRoot()
Since:
1.9

getIndexable

public Indexable getIndexable()
Gets Indexable for this result. The indexable returned is giong to represent the file that was used for creating IndexDocument and indexed.

Please note that this file may no longer exist on the disk in which case the returned Indexable is going to have limited capabilities. For example you want's be able to retrieve its mimetype.

Returns:
The Indexable representing the file that was used for creating the index data represented by this IndexResult.
Since:
1.22

org.netbeans.modules.parsing.api/1 1.55.0 6

Built on May 24 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.