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
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
getType()
getValue()
static <T> Param<T>
load
(InputStream stream) static <T> Param<T>
void
save
(OutputStream stream) void
void
void
void
setTypeString
(String type) toString()
-
Constructor Details
-
Param
public Param() -
Param
-
Param
-
-
Method Details
-
load
- Throws:
SAXException
IOException
TikaException
-
load
- Throws:
TikaConfigException
-
getName
-
setName
-
getType
-
setType
-
getTypeString
-
setTypeString
-
getValue
-
toString
-
save
- Throws:
TransformerException
TikaException
-
save
-