com.atlassian.bonnie
Class FieldUtil

java.lang.Object
  extended bycom.atlassian.bonnie.FieldUtil

Deprecated. You should only use this class as a helper for inlining, not for production code.

public class FieldUtil
extends java.lang.Object

Helper class for getting rid of static calls to Field made obselete in Lucene 2.0. Rather than having to remember the translations for the static methods, convert Field.text() to FieldUtil.text(), then have IDEA inline the method call for you.


Constructor Summary
FieldUtil()
          Deprecated.  
 
Method Summary
static org.apache.lucene.document.Field Keyword(java.lang.String name, java.lang.String value)
          Deprecated.  
static org.apache.lucene.document.Field Text(java.lang.String name, java.lang.String value)
          Deprecated.  
static org.apache.lucene.document.Field UnIndexed(java.lang.String name, java.lang.String value)
          Deprecated.  
static org.apache.lucene.document.Field UnStored(java.lang.String name, java.lang.String value)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldUtil

public FieldUtil()
Deprecated. 
Method Detail

Text

public static org.apache.lucene.document.Field Text(java.lang.String name,
                                                    java.lang.String value)
Deprecated. 

Keyword

public static org.apache.lucene.document.Field Keyword(java.lang.String name,
                                                       java.lang.String value)
Deprecated. 

UnIndexed

public static org.apache.lucene.document.Field UnIndexed(java.lang.String name,
                                                         java.lang.String value)
Deprecated. 

UnStored

public static org.apache.lucene.document.Field UnStored(java.lang.String name,
                                                        java.lang.String value)
Deprecated. 


Copyright © 2006-2009 Atlassian Software Systems Pty Ltd. All Rights Reserved.