*/
public InputStream getInputStream() throws IOException, SourceNotFoundException {
if (getLogger().isDebugEnabled())
getLogger().debug("Get InputStream for " + getURI());
if (!exists()) {
throw new SourceNotFoundException("The source [" + getURI() + "] does not exist!");
}
try {
return getContent().getInputStream();
} catch (RepositoryException e) {
throw new RuntimeException(e);