* @throws IOException if cannot get an input stream
*/
@Override
public InputStream getInputStream() throws IOException
{
RAMEntry entry = getRAMEntry();
if(entry == null || entry instanceof RAMDirectory)
throw new ResourceNotFoundException(toURI());
return new ByteArrayInputStream(((RAMFile) entry).getContent());