public class OutputFileWrapper extends Object
Modifier and Type | Field and Description |
---|---|
static String |
AUTO_ENCODING |
static String |
AUTO_FORMAT |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getEncoding() |
File |
getFile() |
String |
getFormat() |
String[] |
getSupportedFormat() |
int |
hashCode() |
String |
toString() |
static OutputFileWrapper |
valueOf(String absolutePath,
String format,
String[] supportedFormat) |
static OutputFileWrapper |
valueOf(String absolutePath,
String format,
String charsetName,
String[] supportedFormat) |
public static final String AUTO_ENCODING
public static final String AUTO_FORMAT
public static OutputFileWrapper valueOf(String absolutePath, String format, String[] supportedFormat) throws UnsupportedEncodingException
absolutePath
- not nullformat
- not nullsupportedFormat
- not nullUnsupportedEncodingException
- if the encoding is unsupported.public static OutputFileWrapper valueOf(String absolutePath, String format, String charsetName, String[] supportedFormat) throws UnsupportedEncodingException
absolutePath
- not nullformat
- not nullcharsetName
- could be nullsupportedFormat
- not nullUnsupportedEncodingException
- if the encoding is unsupported.public File getFile()
public String getEncoding()
null
if not specified.public boolean equals(Object o)
public int hashCode()
public String toString()
public String getFormat()
public String[] getSupportedFormat()
Copyright © 2005–2023 The Apache Software Foundation. All rights reserved.