com.swfm.mica.sys
Interface MiiSystemIOManager
- All Known Implementing Classes:
- MiSystemAppletIOManager, MiSystemApplicationIOManager, MiSystemIOManager
- public interface MiiSystemIOManager
- Version:
- %I% %G%
- Author:
- Michael L. Davis
getInputResourceAsStream
public java.io.InputStream getInputResourceAsStream(java.lang.String resourceName)
throws java.lang.Exception
- Throws:
java.lang.Exception
getInputResourceAsStream
public java.io.InputStream getInputResourceAsStream(java.net.URL resource)
throws java.lang.Exception
- Throws:
java.lang.Exception
getOutputResourceAsStream
public java.io.OutputStream getOutputResourceAsStream(java.lang.String resourceName)
throws java.lang.Exception
- Throws:
java.lang.Exception
getOutputResourceAsStream
public java.io.OutputStream getOutputResourceAsStream(java.net.URL resource)
throws java.lang.Exception
- Throws:
java.lang.Exception
getInputTextResourceAsStream
public java.io.BufferedReader getInputTextResourceAsStream(java.lang.String resourceName)
throws java.lang.Exception
- Throws:
java.lang.Exception
getOutputTextResourceAsStream
public java.io.PrintWriter getOutputTextResourceAsStream(java.lang.String resourceName)
throws java.lang.Exception
- Throws:
java.lang.Exception
getInputTextResource
public java.lang.String getInputTextResource(java.lang.String resourceName)
throws java.lang.Exception
- Throws:
java.lang.Exception
getResourceAsURL
public java.net.URL getResourceAsURL(java.lang.String resourceName)
throws java.lang.Exception
- Throws:
java.lang.Exception
copyTo
public boolean copyTo(java.lang.String resourceName,
java.lang.String targetResourceName)
copyTo
public boolean copyTo(java.net.URL resource,
java.net.URL targetResource)
exists
public boolean exists(java.lang.String resourceName)
exists
public boolean exists(java.net.URL resource)
renameTo
public boolean renameTo(java.lang.String resourceName,
java.lang.String targetResourceName)
renameTo
public boolean renameTo(java.net.URL resource,
java.net.URL targetResource)
delete
public boolean delete(java.lang.String resourceName)
delete
public boolean delete(java.net.URL resource)
lastModified
public long lastModified(java.lang.String resourceName)
lastModified
public long lastModified(java.net.URL resource)
sizeOf
public long sizeOf(java.lang.String resourceName)
sizeOf
public long sizeOf(java.net.URL resource)
isFile
public boolean isFile(java.lang.String resourceName)
isFile
public boolean isFile(java.net.URL resource)
mkdirs
public boolean mkdirs(java.lang.String resourceName)
listRoots
public Strings listRoots()
listFiles
public Strings listFiles(java.lang.String path,
boolean includeFilesInSubdirectories)
listDirectories
public Strings listDirectories(java.lang.String path,
boolean includeDirectoriesInSubdirectories)
getFileFinder
public MiSystemIOManagerFileFinder getFileFinder()
- Deprecated.
- Use listFiles and listDirectories instead along with new File(path).getName()