Package com.adobe.internal.mac.resource
Interface ResourceParser.ResourceHandler
-
- All Known Implementing Classes:
BasicResourceHandler,FONDResourceHandler,sfntResourceHandler,versResourceHandler
- Enclosing class:
- ResourceParser
public static interface ResourceParser.ResourceHandlerThe interface that a callback resource handler must support.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]getResourceType()Get the resource type supported by this resource handler.voidhandleResource(ResourceParser.ResourceEntry entry, long length, java.io.InputStream stream)The callback that is executed when a resource of the type supported by this handler is encountered in a resource file.
-
-
-
Method Detail
-
handleResource
void handleResource(ResourceParser.ResourceEntry entry, long length, java.io.InputStream stream)
The callback that is executed when a resource of the type supported by this handler is encountered in a resource file.- Parameters:
entry- the information about this resourcelength- the length of the data streamstream- the data stream
-
getResourceType
byte[] getResourceType()
Get the resource type supported by this resource handler.- Returns:
- the resource type supported by this handler
-
-