Package org.apache.tools.ant.types
Class PatternSet.PatternFileNameEntry
java.lang.Object
org.apache.tools.ant.types.PatternSet.NameEntry
org.apache.tools.ant.types.PatternSet.PatternFileNameEntry
- Enclosing class:
PatternSet
Adds encoding support to
PatternSet.NameEntry
.- Since:
- Ant 1.10.4
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
Encoding to use when reading the file, defaults to the platform's default encoding.final void
setEncoding
(String encoding) Encoding to use when reading the file, defaults to the platform's default encoding.toString()
-
Constructor Details
-
PatternFileNameEntry
public PatternFileNameEntry()
-
-
Method Details
-
setEncoding
Encoding to use when reading the file, defaults to the platform's default encoding.For a list of possible values see https://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html.
- Parameters:
encoding
- String
-
getEncoding
Encoding to use when reading the file, defaults to the platform's default encoding.- Returns:
- the encoding name
-
toString
- Overrides:
toString
in classPatternSet.NameEntry
- Returns:
- a printable form of this object.
-