Java Doc for UrlFileObject.java in  » Library » Apache-commons-vfs-20070724-src » org » apache » commons » vfs » provider » url » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Library » Apache commons vfs 20070724 src » org.apache.commons.vfs.provider.url 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.commons.vfs.provider.AbstractFileObject
      org.apache.commons.vfs.provider.url.UrlFileObject

UrlFileObject
public class UrlFileObject extends AbstractFileObject implements FileObject(Code)
A FileObject implementation backed by a URL .
author:
   Adam Murdoch
version:
   $Revision: 480428 $ $Date: 2006-11-28 22:15:24 -0800 (Tue, 28 Nov 2006) $



Constructor Summary
protected  UrlFileObject(UrlFileSystem fs, FileName fileName)
    

Method Summary
protected  URLcreateURL(FileName name)
    
protected  voiddoAttach()
     Attaches this file object to its file resource.
protected  longdoGetContentSize()
     Returns the size of the file content (in bytes).
protected  InputStreamdoGetInputStream()
     Creates an input stream to read the file content from.
protected  longdoGetLastModifiedTime()
     Returns the last modified time of this file.
protected  FileTypedoGetType()
     Determines the type of the file.
protected  String[]doListChildren()
     Lists the children of the file.


Constructor Detail
UrlFileObject
protected UrlFileObject(UrlFileSystem fs, FileName fileName)(Code)




Method Detail
createURL
protected URL createURL(FileName name) throws MalformedURLException, FileSystemException, URIException(Code)



doAttach
protected void doAttach() throws Exception(Code)
Attaches this file object to its file resource. This method is called before any of the doBlah() or onBlah() methods. Sub-classes can use this method to perform lazy initialisation.



doGetContentSize
protected long doGetContentSize() throws Exception(Code)
Returns the size of the file content (in bytes).



doGetInputStream
protected InputStream doGetInputStream() throws Exception(Code)
Creates an input stream to read the file content from.



doGetLastModifiedTime
protected long doGetLastModifiedTime() throws Exception(Code)
Returns the last modified time of this file.



doGetType
protected FileType doGetType() throws Exception(Code)
Determines the type of the file.



doListChildren
protected String[] doListChildren() throws Exception(Code)
Lists the children of the file.



Methods inherited from org.apache.commons.vfs.provider.AbstractFileObject
public boolean canRenameTo(FileObject newfile)(Code)(Java Doc)
protected void childrenChanged() throws Exception(Code)(Java Doc)
protected void childrenChanged(FileName childName, FileType newType) throws Exception(Code)(Java Doc)
public void close() throws FileSystemException(Code)(Java Doc)
public void copyFrom(FileObject file, FileSelector selector) throws FileSystemException(Code)(Java Doc)
public void createFile() throws FileSystemException(Code)(Java Doc)
public void createFolder() throws FileSystemException(Code)(Java Doc)
public boolean delete() throws FileSystemException(Code)(Java Doc)
public int delete(FileSelector selector) throws FileSystemException(Code)(Java Doc)
protected void doAttach() throws Exception(Code)(Java Doc)
protected FileContent doCreateFileContent() throws FileSystemException(Code)(Java Doc)
protected void doCreateFolder() throws Exception(Code)(Java Doc)
protected void doDelete() throws Exception(Code)(Java Doc)
protected void doDetach() throws Exception(Code)(Java Doc)
protected Map doGetAttributes() throws Exception(Code)(Java Doc)
protected Certificate[] doGetCertificates() throws Exception(Code)(Java Doc)
abstract protected long doGetContentSize() throws Exception(Code)(Java Doc)
abstract protected InputStream doGetInputStream() throws Exception(Code)(Java Doc)
protected long doGetLastModifiedTime() throws Exception(Code)(Java Doc)
protected OutputStream doGetOutputStream(boolean bAppend) throws Exception(Code)(Java Doc)
protected RandomAccessContent doGetRandomAccessContent(RandomAccessMode mode) throws Exception(Code)(Java Doc)
abstract protected FileType doGetType() throws Exception(Code)(Java Doc)
protected boolean doIsHidden() throws Exception(Code)(Java Doc)
protected boolean doIsReadable() throws Exception(Code)(Java Doc)
protected boolean doIsSameFile(FileObject destFile) throws FileSystemException(Code)(Java Doc)
protected boolean doIsWriteable() throws Exception(Code)(Java Doc)
abstract protected String[] doListChildren() throws Exception(Code)(Java Doc)
protected FileObject[] doListChildrenResolved() throws Exception(Code)(Java Doc)
protected void doRemoveAttribute(String atttrName) throws Exception(Code)(Java Doc)
protected void doRename(FileObject newfile) throws Exception(Code)(Java Doc)
protected void doSetAttribute(String atttrName, Object value) throws Exception(Code)(Java Doc)
protected boolean doSetLastModTime(long modtime) throws Exception(Code)(Java Doc)
protected void doSetLastModifiedTime(long modtime) throws Exception(Code)(Java Doc)
protected void endOutput() throws Exception(Code)(Java Doc)
public boolean exists() throws FileSystemException(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
public FileObject[] findFiles(FileSelector selector) throws FileSystemException(Code)(Java Doc)
public void findFiles(FileSelector selector, boolean depthwise, List selected) throws FileSystemException(Code)(Java Doc)
public FileObject getChild(String name) throws FileSystemException(Code)(Java Doc)
public FileObject[] getChildren() throws FileSystemException(Code)(Java Doc)
public FileContent getContent() throws FileSystemException(Code)(Java Doc)
protected FileContentInfoFactory getFileContentInfoFactory()(Code)(Java Doc)
public FileOperations getFileOperations() throws FileSystemException(Code)(Java Doc)
public FileSystem getFileSystem()(Code)(Java Doc)
public InputStream getInputStream() throws FileSystemException(Code)(Java Doc)
public FileName getName()(Code)(Java Doc)
public OutputStream getOutputStream() throws FileSystemException(Code)(Java Doc)
public OutputStream getOutputStream(boolean bAppend) throws FileSystemException(Code)(Java Doc)
public FileObject getParent() throws FileSystemException(Code)(Java Doc)
public RandomAccessContent getRandomAccessContent(RandomAccessMode mode) throws FileSystemException(Code)(Java Doc)
public FileType getType() throws FileSystemException(Code)(Java Doc)
public URL getURL() throws FileSystemException(Code)(Java Doc)
protected void handleChanged() throws Exception(Code)(Java Doc)
protected void handleCreate(FileType newType) throws Exception(Code)(Java Doc)
protected void handleDelete() throws Exception(Code)(Java Doc)
public void holdObject(Object strongRef)(Code)(Java Doc)
protected void injectType(FileType fileType)(Code)(Java Doc)
public boolean isAttached()(Code)(Java Doc)
public boolean isContentOpen()(Code)(Java Doc)
public boolean isHidden() throws FileSystemException(Code)(Java Doc)
public boolean isReadable() throws FileSystemException(Code)(Java Doc)
protected boolean isSameFile(FileObject destFile) throws FileSystemException(Code)(Java Doc)
public boolean isWriteable() throws FileSystemException(Code)(Java Doc)
public void moveTo(FileObject destFile) throws FileSystemException(Code)(Java Doc)
protected void notifyAllStreamsClosed()(Code)(Java Doc)
protected void onChange() throws Exception(Code)(Java Doc)
protected void onChildrenChanged(FileName child, FileType newType) throws Exception(Code)(Java Doc)
public void refresh() throws FileSystemException(Code)(Java Doc)
public FileObject resolveFile(String name, NameScope scope) throws FileSystemException(Code)(Java Doc)
public FileObject resolveFile(String path) throws FileSystemException(Code)(Java Doc)
public String toString()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.