Package org.apache.tomcat.jakartaee
Class PassThroughConverter
- java.lang.Object
-
- org.apache.tomcat.jakartaee.PassThroughConverter
-
-
Constructor Summary
Constructors Constructor Description PassThroughConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccepts(String filename)voidconvert(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.
-
-
-
Method Detail
-
convert
public void convert(String path, InputStream src, OutputStream dest, EESpecProfile profile) throws IOException
Description copied from interface:ConverterCopies the source to the destination, converting it if necessary, according to the requirements of the given profile.- Specified by:
convertin interfaceConverter- Parameters:
path- 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 required- Throws:
IOException- If the conversion fails
-
-