public class JarArchive extends File
File.
| 限定符和类型 | 字段和说明 |
|---|---|
protected Set |
childs |
protected JarFile |
jar |
pathSeparator, pathSeparatorChar, separator, separatorChar| 构造器和说明 |
|---|
JarArchive(String pathname) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
buildTree(ITreeNode node,
JarArchive element) |
boolean |
canRead() |
boolean |
canWrite() |
int |
compareTo(File pathname) |
boolean |
createNewFile() |
boolean |
delete() |
void |
deleteOnExit() |
boolean |
equals(Object obj) |
boolean |
exists() |
File |
getAbsoluteFile() |
String |
getAbsolutePath() |
File |
getCanonicalFile() |
String |
getCanonicalPath() |
String |
getName() |
String |
getParent() |
File |
getParentFile() |
String |
getPath() |
int |
hashCode() |
boolean |
isAbsolute() |
boolean |
isDirectory() |
boolean |
isFile() |
boolean |
isHidden() |
long |
lastModified() |
long |
length() |
String[] |
list() |
String[] |
list(FilenameFilter filter) |
File[] |
listFiles() |
File[] |
listFiles(FileFilter filter) |
File[] |
listFiles(FilenameFilter filter) |
boolean |
mkdir() |
boolean |
mkdirs() |
boolean |
renameTo(File dest) |
boolean |
setLastModified(long time) |
boolean |
setReadOnly() |
String |
toString() |
URI |
toURI() |
URL |
toURL() |
canExecute, createTempFile, createTempFile, getFreeSpace, getTotalSpace, getUsableSpace, listRoots, setExecutable, setExecutable, setReadable, setReadable, setWritable, setWritable, toPathpublic JarArchive(String pathname) throws IOException
pathname - IOExceptionprotected void buildTree(ITreeNode node, JarArchive element) throws IOException
IOExceptionpublic int compareTo(File pathname)
compareTo 在接口中 Comparable<File>compareTo 在类中 Filepublic boolean createNewFile()
throws IOException
createNewFile 在类中 FileIOExceptionpublic void deleteOnExit()
deleteOnExit 在类中 Filepublic File getAbsoluteFile()
getAbsoluteFile 在类中 Filepublic String getAbsolutePath()
getAbsolutePath 在类中 Filepublic File getCanonicalFile() throws IOException
getCanonicalFile 在类中 FileIOExceptionpublic String getCanonicalPath() throws IOException
getCanonicalPath 在类中 FileIOExceptionpublic File getParentFile()
getParentFile 在类中 Filepublic boolean isAbsolute()
isAbsolute 在类中 Filepublic boolean isDirectory()
isDirectory 在类中 Filepublic long lastModified()
lastModified 在类中 Filepublic String[] list(FilenameFilter filter)
public File[] listFiles(FileFilter filter)
public File[] listFiles(FilenameFilter filter)
public boolean setLastModified(long time)
setLastModified 在类中 Filepublic boolean setReadOnly()
setReadOnly 在类中 Filepublic URL toURL() throws MalformedURLException
toURL 在类中 FileMalformedURLExceptionCopyright © 2016. All rights reserved.