public abstract class URLFileObject extends AbstractFileObject
Modifier and Type | Field and Description |
---|---|
protected String |
fileName |
protected String |
path |
Constructor and Description |
---|
URLFileObject(SchemaProvider schemaProvider) |
URLFileObject(SchemaProvider schemaProvider,
String resource) |
Modifier and Type | Method and Description |
---|---|
String |
getAbsolutePath() |
FileObject |
getChild(String fileName) |
List<FileObject> |
getChildren() |
String |
getExtName() |
String |
getFileName() |
long |
getFileSize() |
InputStream |
getInputStream() |
OutputStream |
getOutputStream() |
String |
getPath() |
URL |
getUrl() |
URL |
getURL() |
boolean |
isExist() |
boolean |
isFolder() |
boolean |
isInPackage() |
void |
setExtName(String extName) |
void |
setFileName(String fileName) |
void |
setFileSize(long fileSize) |
void |
setPath(String path) |
void |
setUrl(URL url) |
clean, delete, equals, foreach, foreach, getFileObject, getParent, getSchemaProvider, hashCode, isModified, resetModified, setParent, substringAfter
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getLastModifiedTime, getSize
public URLFileObject(SchemaProvider schemaProvider)
public URLFileObject(SchemaProvider schemaProvider, String resource)
public URL getUrl()
public void setUrl(URL url)
public long getFileSize()
public void setFileSize(long fileSize)
public String getAbsolutePath()
public String getPath()
public void setPath(String path)
public String getFileName()
public void setFileName(String fileName)
public String getExtName()
public void setExtName(String extName)
public boolean isFolder()
public boolean isExist()
public InputStream getInputStream()
public OutputStream getOutputStream()
public FileObject getChild(String fileName)
public List<FileObject> getChildren()
public boolean isInPackage()
public URL getURL()
Copyright © 2006–2018 TinyGroup. All rights reserved.