com.triangularpixels.rebirth.resources
Interface ResourceIO
- All Known Implementing Classes:
- FileIO
public interface ResourceIO
Interface for doing all resource loading. Implementations are free to retrieve the actual data from either the local file system,
the classpath or then network as appropriate.
- Author:
- John Campbell
exists
boolean exists(String path)
length
long length(String path)
open
Reader open(String path)
openStream
InputStream openStream(String path)
getTimestamp
long getTimestamp(String filePath)
Copyright © 2009 TriangularPixels.com. All Rights Reserved.