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

Method Summary
 boolean exists(String path)
           
 long getTimestamp(String filePath)
           
 long length(String path)
           
 Reader open(String path)
           
 InputStream openStream(String path)
           
 

Method Detail

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.