| 12 | import java.util.Collection; |
| 13 | |
| 14 | public interface Container { |
| 15 | String getType(); |
| 16 | |
| 17 | Entry getRoot(); |
| 18 | |
| 19 | /** |
| 20 | * File or directory |
| 21 | */ |
| 22 | interface Entry { |
| 23 | Container getContainer(); |
| 24 | |
| 25 | Entry getParent(); |
| 26 | |
| 27 | URI getUri(); |
| 28 | |
| 29 | String getPath(); |
| 30 | |
| 31 | boolean isDirectory(); |
| 32 | |
| 33 | long length(); |
| 34 | |
| 35 | InputStream getInputStream(); |
| 36 | |
| 37 | Collection<Entry> getChildren(); |
| 38 | } |
| 39 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…