- 所有已知实现类:
StringSharingDecompressor
public interface ResourceDecompressor
JLink Image Decompressor.
- Implementation Note:
- This class needs to maintain JDK 8 source compatibility. It is used internally in the JDK to implement jimage/jrtfs access, but also compiled and delivered as part of the jrtfs.jar to support access to the jimage file provided by the shipped JDK by tools running on JDK 8.
-
嵌套类概要
嵌套类 -
方法概要
修饰符和类型方法说明byte[]decompress(ResourceDecompressor.StringsProvider strings, byte[] content, int offset, long originalSize) Decompress a resource.getName()Decompressor unique name.
-
方法详细资料
-
getName
String getName()Decompressor unique name.- 返回:
- The decompressor name.
-
decompress
byte[] decompress(ResourceDecompressor.StringsProvider strings, byte[] content, int offset, long originalSize) throws Exception Decompress a resource.- 参数:
strings- The String providercontent- The resource contentoffset- Resource content offsetoriginalSize- Uncompressed size- 返回:
- Uncompressed resource
- 抛出:
Exception
-