| Home >> All >> com >> flexstor >> common >> io >> [ xfile Javadoc ] |
Source code: com/flexstor/common/io/xfile/FlexXFileI.java
1 /* 2 * FlexXFileI.java 3 * 4 * Copyright $Date: 2003/08/11 02:22:38 $ FLEXSTOR.net Inc. 5 * 6 * This work is licensed for use and distribution under license terms found at 7 * http://www.flexstor.org/license.html 8 * 9 */ 10 11 package com.flexstor.common.io.xfile; 12 13 import java.io.BufferedInputStream; 14 import java.io.BufferedOutputStream; 15 import java.io.BufferedReader; 16 import java.io.BufferedWriter; 17 import java.io.IOException; 18 19 public interface FlexXFileI 20 { 21 22 public String[] list(); 23 24 public String[] list(XFilenameFilterI filter); 25 26 public boolean mkdir(); 27 28 public boolean mkdirs(); 29 30 public String[] extendedList(); 31 32 public String[] extendedList(XFilenameFilterI filter); 33 34 public String getName(); 35 36 public String getParent(); 37 38 public boolean exists(); 39 40 public boolean canRead(); 41 42 public boolean canWrite(); 43 44 public boolean isDirectory(); 45 46 public boolean isFile(); 47 48 public boolean isAbsolute(); 49 50 public long lastModified(); 51 52 public long length(); 53 54 public boolean delete(); 55 56 public boolean renameTo(FlexXFileI xfile); 57 58 public String getServer(); 59 60 public String getLocalPath(); 61 62 public boolean isLocalPath(); 63 64 public String getUNCPath(); 65 66 public String getLocalParent(); 67 68 public String getLocalUNCPath(); 69 70 public String getAbsolutePath(); 71 72 public String getPath(); 73 74 public String getFileSystemName(); 75 76 public String getFileSeparator(); 77 78 public BufferedReader getBufferedReader() throws IOException; 79 80 public BufferedReader getBufferedReader(int bufferSize) throws IOException; 81 82 public BufferedWriter getBufferedWriter() throws IOException; 83 84 public BufferedWriter getBufferedWriter(int bufferSize) throws IOException; 85 86 public BufferedInputStream getBufferedInputStream() throws IOException; 87 88 public BufferedInputStream getBufferedInputStream(int bufferSize) throws IOException; 89 90 public BufferedOutputStream getBufferedOutputStream() throws IOException; 91 92 public BufferedOutputStream getBufferedOutputStream(int bufferSize) throws IOException; 93 94 95 96 }