org.glassfish.hk2.classmodel.reflect
Interface ArchiveAdapter.EntryTask

Enclosing interface:
ArchiveAdapter

public static interface ArchiveAdapter.EntryTask

defines the notion of an archive entry task which is a task aimed to be run on particular archive entry.


Method Summary
 void on(ArchiveAdapter.Entry e, byte[] bytes)
          callback to do some processing on an archive entry.
 

Method Detail

on

void on(ArchiveAdapter.Entry e,
        byte[] bytes)
        throws java.io.IOException
callback to do some processing on an archive entry.

Parameters:
e - the archive entry information such as its name, size...
bytes - the archive entry content.
Throws:
java.io.IOException - if the input stream reading generates a failure


Copyright © 2010 Oracle Corporation. All Rights Reserved.