public class JavaFileImpl extends JavaResourceImpl implements IFile
_fileEMPTY_ARRAY| Constructor and Description |
|---|
JavaFileImpl(File file) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
create() |
boolean |
exists() |
String |
getBaseName() |
String |
getExtension() |
InputStream |
openInputStream() |
OutputStream |
openOutputStream() |
OutputStream |
openOutputStreamForAppend() |
delete, equals, getName, getParent, getPath, hashCode, isChildOf, isDescendantOf, isInJar, isJavaFile, toJavaFile, toString, toURIclone, finalize, getClass, notify, notifyAll, wait, wait, waitdelete, getName, getParent, getPath, isChildOf, isDescendantOf, isInJar, isJavaFile, toJavaFile, toURIpublic JavaFileImpl(File file)
public InputStream openInputStream() throws IOException
openInputStream in interface IFileIOExceptionpublic OutputStream openOutputStream() throws IOException
openOutputStream in interface IFileIOExceptionpublic OutputStream openOutputStreamForAppend() throws IOException
openOutputStreamForAppend in interface IFileIOExceptionpublic String getExtension()
getExtension in interface IFilepublic String getBaseName()
getBaseName in interface IFilepublic boolean create()
create in interface IResourcecreate in class JavaResourceImplCopyright © 2020. All rights reserved.