bloritsch 2003/07/15 13:11:27
Modified: meta/api/src/java/org/apache/avalon/meta/info
MetaInfoLocator.java
Log:
Change "extension" to "type" to represent meta-info type.
Revision Changes Path
1.3 +9 -9
avalon-sandbox/meta/api/src/java/org/apache/avalon/meta/info/MetaInfoLocator.java
Index: MetaInfoLocator.java
===================================================================
RCS file:
/home/cvs/avalon-sandbox/meta/api/src/java/org/apache/avalon/meta/info/MetaInfoLocator.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- MetaInfoLocator.java 15 Jul 2003 19:58:59 -0000 1.2
+++ MetaInfoLocator.java 15 Jul 2003 20:11:26 -0000 1.3
@@ -70,24 +70,24 @@
String getKey();
/**
- * Get the required stream based on extension. The extension is the "type" of
+ * Get the required stream based on type. The type is the "type" of
* meta info, but it also matches the last part of the filename after the last
- * period (aka the extension).
+ * period (aka the type).
*
- * @param extension The extension of the stream (i.e. "info" for "XXX.info")
+ * @param type The type of the stream (i.e. "info" for "XXX.info")
* @return the InputStream necessary
* @throws MetaInfoException if the stream does not exist or there is a problem
obtaining it.
*/
- InputStream getInputStream(String extension) throws MetaInfoException;
+ InputStream getInputStream(String type) throws MetaInfoException;
/**
- * Get the required stream based on extension. The extension is the "type" of
+ * Get the required stream based on type. The type is the "type" of
* meta info, but it also matches the last part of the filename after the last
- * period (aka the extension).
+ * period (aka the type).
*
- * @param extension The extension of the stream (i.e. "info" for "XXX.info")
+ * @param type The type of the stream (i.e. "info" for "XXX.info")
* @return the OutnputStream necessary
* @throws MetaInfoException if there is a problem obtaining it.
*/
- OutputStream getOutputStream(String extension) throws MetaInfoException;
+ OutputStream getOutputStream(String type) throws MetaInfoException;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]