| Constructor and Description |
|---|
TextConverter()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(String filename)
Check if the file can be processed by this converter.
|
boolean |
convert(String path,
InputStream src,
OutputStream dest,
EESpecProfile profile)
Copies the source to the destination, converting it if necessary,
according to the requirements of the given profile.
|
public boolean accepts(String filename)
Converterpublic boolean convert(String path, InputStream src, OutputStream dest, EESpecProfile profile) throws IOException
Converterconvert in interface Converterpath - The path to the data being convertedsrc - The source data to convertdest - The destination to write the converted dataprofile - The profile that defines the conversion requiredIOException - If the conversion failsCopyright © 2020–2022 The Apache Software Foundation. All rights reserved.