Package org.apache.tika.config
Class Param<T>
java.lang.Object
org.apache.tika.config.Param<T>
- Type Parameters:
T- value type. Should be serializable to string and have a constructor with string param
- All Implemented Interfaces:
Serializable
This is a serializable model class for parameters from configuration file.
- Since:
- Apache Tika 1.14
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()getType()getValue()static <T> Param<T>load(InputStream stream) static <T> Param<T>voidsave(OutputStream stream) voidvoidvoidvoidsetTypeString(String type) toString()
-
Constructor Details
-
Param
public Param() -
Param
-
Param
-
-
Method Details
-
load
- Throws:
SAXExceptionIOExceptionTikaException
-
load
- Throws:
TikaConfigException
-
getName
-
setName
-
getType
-
setType
-
getTypeString
-
setTypeString
-
getValue
-
toString
-
save
- Throws:
TransformerExceptionTikaException
-
save
-