/plugins/cvs/javacvs-src/org/netbeans/lib/cvsclient/file/IFileSystem.java

https://bitbucket.org/nbargnesi/idea · Java · 31 lines · 9 code · 7 blank · 15 comment · 0 complexity · 664c038dee3368d3664aea833273073e MD5 · raw file

  1. /*
  2. * Sun Public License Notice
  3. *
  4. * The contents of this file are subject to the Sun Public License
  5. * Version 1.0 (the "License"). You may not use this file except in
  6. * compliance with the License. A copy of the License is available at
  7. * http://www.sun.com/
  8. *
  9. * The Original Code is NetBeans. The Initial Developer of the Original
  10. * Code is Sun Microsystems, Inc. Portions Copyright 1997-2000 Sun
  11. * Microsystems, Inc. All Rights Reserved.
  12. */
  13. package org.netbeans.lib.cvsclient.file;
  14. import java.io.File;
  15. /**
  16. * @author Thomas Singer
  17. */
  18. public interface IFileSystem {
  19. File getRootDirectory();
  20. File getFile(String relativeFileName);
  21. File getFile(AbstractFileObject fileObject);
  22. FileObject getFileObject(File file) throws OutOfFileSystemException;
  23. DirectoryObject getDirectoryObject(File directory) throws OutOfFileSystemException;
  24. }