public final class TermFactory
extends java.lang.Object
TermFactory is a factory for Term instances with
frequently used field names.| Modifier and Type | Method and Description |
|---|---|
static Term |
newAncestorTerm(java.lang.String path) |
static Term |
newFulltextTerm(java.lang.String ft) |
static Term |
newFulltextTerm(java.lang.String ft,
java.lang.String field) |
static Term |
newPathTerm(java.lang.String path)
Creates a Term with the given
path value and with a field
name FieldNames.PATH. |
public static Term newPathTerm(java.lang.String path)
path value and with a field
name FieldNames.PATH.path - the path.public static Term newFulltextTerm(java.lang.String ft,
java.lang.String field)
public static Term newAncestorTerm(java.lang.String path)
public static Term newFulltextTerm(java.lang.String ft)
"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"