KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > ca > directory > jxplorer > editor > editablebinary


1 package com.ca.directory.jxplorer.editor;
2
3 /**
4  * This interface defines the functionality required of
5  * an object that can be edited by an AbstractBinaryEditor
6  * and its ilk.
7  */

8 public interface editablebinary
9 {
10     /**
11      * sets the value of the editable object.
12      * @param bytes an array of bytes that may be edited later.
13      */

14     public void setValue(byte[] bytes);
15     
16     /**
17      * gets the value of the edited object.
18      * @return the array of edited bytes.
19      */

20     public byte[] getValue();
21 }
Popular Tags