@Test public void testGetInputStream() throws Exception { FsEntry e = new FsEntry(); byte[] expected = {0, 1, 2, 3, 4, 5}; byte[] actual = new byte[6]; e.getStreams().put("Content", new BufferProxy(expected)); InputStream stream = e.getInputStream(); assertTrue(stream != null); assertEquals(6, stream.read(actual)); assertEquals(-1, stream.read()); }
public InputStream getInputStream() throws IOException { return getInputStream("Content"); }
FsEntry extends HashMap<String,Object> { public InputStream getInputStream() throws IOException { return getInputStream("Content"); } }
FsEntry extends HashMap<String,Object> { public InputStream getInputStream() throws IOException { return getInputStream("Content"); }  }
FsEntry extends HashMap<String,Object> { public InputStream getInputStream() throws IOException { return getInputStream("Content"); }  void clear(); Map<String, Object> getChangedItems(); boolean containsKey(Object key); boolean containsValue(Object value); @Deprecated Set<Map.Entry<String,Object>> entrySet(); @Deprecated boolean equals(Object o); Object get(Object key); boolean isEmpty(); @Deprecated Set<String> keySet(); Object put(String key, Object value); void putAll(Map<? extends String,? extends Object> m); @Deprecated Object remove(Object key); int size(); @Deprecated Collection<Object> values(); void setFileSystem(FileSystem fs); Map<String, StreamProxy> getStreams(); Object getStream(); Object getStream(String key); InputStream getInputStream(); InputStream getInputStream(String key); boolean hasMetadata(); String getPath(); String getName(); String getID(); String extension(); String fullPath(); Date getCreated(); Date getWritten(); Date getAccessed(); Date getUpdated(); long getSize(); boolean parseJson(String jsonstr); }
FsEntry extends HashMap<String,Object> { public InputStream getInputStream() throws IOException { return getInputStream("Content"); }  void clear(); Map<String, Object> getChangedItems(); boolean containsKey(Object key); boolean containsValue(Object value); @Deprecated Set<Map.Entry<String,Object>> entrySet(); @Deprecated boolean equals(Object o); Object get(Object key); boolean isEmpty(); @Deprecated Set<String> keySet(); Object put(String key, Object value); void putAll(Map<? extends String,? extends Object> m); @Deprecated Object remove(Object key); int size(); @Deprecated Collection<Object> values(); void setFileSystem(FileSystem fs); Map<String, StreamProxy> getStreams(); Object getStream(); Object getStream(String key); InputStream getInputStream(); InputStream getInputStream(String key); boolean hasMetadata(); String getPath(); String getName(); String getID(); String extension(); String fullPath(); Date getCreated(); Date getWritten(); Date getAccessed(); Date getUpdated(); long getSize(); boolean parseJson(String jsonstr);  }