eu.europa.tmsearch.services.dao
Interface ResourceDAO

All Known Implementing Classes:
ResourceDAOSupport

public interface ResourceDAO

A DAO interface for file system resources.


Method Summary
 byte[] getResource(java.lang.String resourcePath)
          Gets a file from the underlying data store given a file path
 

Method Detail

getResource

byte[] getResource(java.lang.String resourcePath)
                   throws ResourceNotFoundException
Gets a file from the underlying data store given a file path

Parameters:
resourcePath -
Returns:
A byte[] containing the file resource
Throws:
ResourceNotFoundException


Copyright © 2009. All Rights Reserved.