(boolean verbose)
| 64 | } |
| 65 | |
| 66 | public List<Map<String, Object>> getContents(boolean verbose) { |
| 67 | contents = new ArrayList<>(); |
| 68 | this.verbose = true;//verbose; |
| 69 | while (isAvail()) { |
| 70 | try { |
| 71 | readBlock(contents); |
| 72 | } catch (IOException e) { |
| 73 | break; |
| 74 | } |
| 75 | } |
| 76 | try { |
| 77 | is.close(); |
| 78 | } catch (IOException e) { |
| 79 | // TODO Auto-generated catch block |
| 80 | e.printStackTrace(); |
| 81 | } |
| 82 | return contents; |
| 83 | } |
| 84 | |
| 85 | protected void readBlock(List<Map<String, Object>> contents) throws IOException { |
| 86 | int pt = this.pt; |