public class JavaFileImpl extends JavaFile
| Constructor and Description |
|---|
JavaFileImpl(Path path,
String encoding)
Constructor of a new object that points to a given file.
|
addClassType, addImportType, getClassType, getClassTypes, getEncoding, getFilename, getFilenameWithoutPathOrExtension, getImportTypes, getPackageType, getPath, setClassType, setPackageTypepublic JavaFileImpl(Path path, String encoding) throws IOException
path - path of the fileencoding - encoding of the fileIOException - on parsing failureCopyright © 2002–2024 The Apache Software Foundation. All rights reserved.