Record Class FileSystemEmitterConfig
java.lang.Object
java.lang.Record
org.apache.tika.pipes.emitter.fs.FileSystemEmitterConfig
-
Constructor Summary
ConstructorsConstructorDescriptionFileSystemEmitterConfig(String basePath, String fileExtension, org.apache.tika.pipes.emitter.fs.FileSystemEmitterConfig.ON_EXISTS onExists, boolean prettyPrint, boolean allowAbsolutePaths) Creates an instance of aFileSystemEmitterConfigrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of theallowAbsolutePathsrecord component.basePath()Returns the value of thebasePathrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefileExtensionrecord component.final inthashCode()Returns a hash code value for this object.static FileSystemEmitterConfigorg.apache.tika.pipes.emitter.fs.FileSystemEmitterConfig.ON_EXISTSonExists()Returns the value of theonExistsrecord component.booleanReturns the value of theprettyPrintrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
FileSystemEmitterConfig
public FileSystemEmitterConfig(String basePath, String fileExtension, org.apache.tika.pipes.emitter.fs.FileSystemEmitterConfig.ON_EXISTS onExists, boolean prettyPrint, boolean allowAbsolutePaths) Creates an instance of aFileSystemEmitterConfigrecord class.- Parameters:
basePath- the value for thebasePathrecord componentfileExtension- the value for thefileExtensionrecord componentonExists- the value for theonExistsrecord componentprettyPrint- the value for theprettyPrintrecord componentallowAbsolutePaths- the value for theallowAbsolutePathsrecord component
-
-
Method Details
-
load
- Throws:
TikaConfigException
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
basePath
Returns the value of thebasePathrecord component.- Returns:
- the value of the
basePathrecord component
-
fileExtension
Returns the value of thefileExtensionrecord component.- Returns:
- the value of the
fileExtensionrecord component
-
onExists
public org.apache.tika.pipes.emitter.fs.FileSystemEmitterConfig.ON_EXISTS onExists()Returns the value of theonExistsrecord component.- Returns:
- the value of the
onExistsrecord component
-
prettyPrint
public boolean prettyPrint()Returns the value of theprettyPrintrecord component.- Returns:
- the value of the
prettyPrintrecord component
-
allowAbsolutePaths
public boolean allowAbsolutePaths()Returns the value of theallowAbsolutePathsrecord component.- Returns:
- the value of the
allowAbsolutePathsrecord component
-