Created
August 16, 2010 13:30
-
-
Save ALRubinger/526938 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public interface Descriptor | |
{ | |
/** | |
* Exports the descriptor XML as a {@link String} | |
* @return | |
* @throws DescriptorExportException | |
*/ | |
String exportAsString() throws DescriptorExportException; | |
/** | |
* Export the descriptor XML to a given {@link OutputStream}. | |
* The {@link OutputStream} will not be flushed or closed by this operation. | |
* | |
* @param output Where to export | |
* @throws IllegalArgumentException if output is null | |
* @throws DescriptorExportException if problems exporting | |
*/ | |
void exportTo(OutputStream output) throws DescriptorExportException, IllegalArgumentException; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment