Forwards calls to a given file object. Subclasses of this class
might override some of these methods and might also provide
additional fields and methods.
Returns a user-friendly name for this file object. The exact
value returned is not specified but implementations should take
care to preserve names as given by the user. For example, if
the user writes the filename "BobsApp\Test.java" on
the command line, this method should return
"BobsApp\Test.java" whereas the toUri
method might return
file:///C:/Documents%20and%20Settings/UncleBob/BobsApp/Test.java.
Returns a reader for this object. The returned reader will
replace bytes that cannot be decoded with the default
translation character. In addition, the reader may report a
diagnostic unless ignoreEncodingErrors is true.
Returns the character content of this file object, if available.
Any byte that cannot be decoded will be replaced by the default
translation character. In addition, a diagnostic may be
reported unless ignoreEncodingErrors is true.