Java Doc for RamFileSystem.java in  » Library » Apache-commons-vfs-20070724-src » org » apache » commons » vfs » provider » ram » 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.ram 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.commons.vfs.provider.AbstractFileSystem
   org.apache.commons.vfs.provider.ram.RamFileSystem

RamFileSystem
public class RamFileSystem extends AbstractFileSystem implements Serializable(Code)
A RAM File System



Constructor Summary
protected  RamFileSystem(FileName rootName, FileSystemOptions fileSystemOptions)
    

Method Summary
protected  voidaddCapabilities(Collection caps)
    
public  voidattach(RamFileObject fo)
    
public  voidclose()
    
protected  FileObjectcreateFile(FileName name)
    
 voiddelete(RamFileObject file)
    
public  voidimportTree(File file)
    
 String[]listChildren(FileName name)
    
 voidrename(RamFileObject from, RamFileObject to)
    
 voidsave(RamFileObject file)
    
 intsize()
    
 voidtoRamFileObject(FileObject fo, FileObject root)
    


Constructor Detail
RamFileSystem
protected RamFileSystem(FileName rootName, FileSystemOptions fileSystemOptions)(Code)

Parameters:
  rootName -
Parameters:
  fileSystemOptions -




Method Detail
addCapabilities
protected void addCapabilities(Collection caps)(Code)



attach
public void attach(RamFileObject fo)(Code)



close
public void close()(Code)
Close the RAMFileSystem



createFile
protected FileObject createFile(FileName name) throws Exception(Code)



delete
void delete(RamFileObject file) throws FileSystemException(Code)
Delete a file
Parameters:
  file -
throws:
  FileSystemException -



importTree
public void importTree(File file) throws FileSystemException(Code)
Import a Tree
Parameters:
  file -
throws:
  FileSystemException -



listChildren
String[] listChildren(FileName name)(Code)

Parameters:
  name - children



rename
void rename(RamFileObject from, RamFileObject to) throws FileSystemException(Code)

Parameters:
  from -
Parameters:
  to -
throws:
  FileSystemException -



save
void save(RamFileObject file) throws FileSystemException(Code)
Saves a file
Parameters:
  file -
throws:
  FileSystemException -



size
int size()(Code)
Returns the size of the FileSystem



toRamFileObject
void toRamFileObject(FileObject fo, FileObject root) throws FileSystemException(Code)
Import the given file with the name relative to the given root
Parameters:
  fo -
Parameters:
  root -
throws:
  FileSystemException -



Methods inherited from org.apache.commons.vfs.provider.AbstractFileSystem
abstract protected void addCapabilities(Collection caps)(Code)(Java Doc)
public void addJunction(String junctionPoint, FileObject targetFile) throws FileSystemException(Code)(Java Doc)
public void addListener(FileObject file, FileListener listener)(Code)(Java Doc)
public void close()(Code)(Java Doc)
public void closeCommunicationLink()(Code)(Java Doc)
abstract protected FileObject createFile(FileName name) throws Exception(Code)(Java Doc)
protected FileObject decorateFileObject(FileObject file) throws FileSystemException(Code)(Java Doc)
protected void doCloseCommunicationLink()(Code)(Java Doc)
protected File doReplicateFile(FileObject file, FileSelector selector) throws Exception(Code)(Java Doc)
public void fireFileChanged(FileObject file)(Code)(Java Doc)
public void fireFileCreated(FileObject file)(Code)(Java Doc)
public void fireFileDeleted(FileObject file)(Code)(Java Doc)
public Object getAttribute(String attrName) throws FileSystemException(Code)(Java Doc)
protected FileObject getFileFromCache(FileName name)(Code)(Java Doc)
public FileSystemManager getFileSystemManager()(Code)(Java Doc)
public FileSystemOptions getFileSystemOptions()(Code)(Java Doc)
public double getLastModTimeAccuracy()(Code)(Java Doc)
public FileObject getParentLayer() throws FileSystemException(Code)(Java Doc)
public FileObject getRoot() throws FileSystemException(Code)(Java Doc)
public FileName getRootName()(Code)(Java Doc)
public boolean hasCapability(Capability capability)(Code)(Java Doc)
public void init() throws FileSystemException(Code)(Java Doc)
public boolean isOpen()(Code)(Java Doc)
public boolean isReleaseable()(Code)(Java Doc)
protected void notifyAllStreamsClosed()(Code)(Java Doc)
protected void putFileToCache(FileObject file)(Code)(Java Doc)
protected void removeFileFromCache(FileName name)(Code)(Java Doc)
public void removeJunction(String junctionPoint) throws FileSystemException(Code)(Java Doc)
public void removeListener(FileObject file, FileListener listener)(Code)(Java Doc)
public File replicateFile(FileObject file, FileSelector selector) throws FileSystemException(Code)(Java Doc)
public FileObject resolveFile(String nameStr) throws FileSystemException(Code)(Java Doc)
public synchronized FileObject resolveFile(FileName name) throws FileSystemException(Code)(Java Doc)
public void setAttribute(String attrName, Object value) throws FileSystemException(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.