(SaveEntry entry)
| 16 | private int residualLength; |
| 17 | |
| 18 | public SaveInputStream(SaveEntry entry) |
| 19 | throws IOException |
| 20 | { |
| 21 | this.entry = entry; |
| 22 | this.residualLength = entry.getResourceLength(); |
| 23 | if (entry.isOnDisk()) { |
| 24 | this.inputStream = new FileInputStream(entry.getResourceFile()); |
| 25 | this.inputStream.skip(entry.getResourceOffset()); |
| 26 | } else { |
| 27 | this.resourceDataList = entry.getResourceDataList(); |
| 28 | } |
| 29 | } |
| 30 | |
| 31 | public void close() |
| 32 | throws IOException |
nothing calls this directly
no test coverage detected