(InputStream inputStream, OutputStream outputStream)
| 154 | } |
| 155 | |
| 156 | public static void transformCache(InputStream inputStream, OutputStream outputStream) throws IOException { |
| 157 | Vector vec = new Vector(1); |
| 158 | vec.add(new URL(null, "fictional://", new BytesHandler(inputStream))); |
| 159 | PluginCache pc = new PluginCache(); |
| 160 | pc.loadCacheFiles(vec.elements()); |
| 161 | Map<String, PluginEntry> ms = pc.getCategory(StrLookup.CATEGORY); |
| 162 | ms.remove("jndi"); |
| 163 | pc.writeCache(outputStream); |
| 164 | } |
| 165 | |
| 166 | |
| 167 |