weaver 2004/07/09 11:24:57
Modified: portal/src/java/org/apache/jetspeed/deployment
DeploymentObject.java
Log:
removed VFS pieces.
removed unneeded methods
Revision Changes Path
1.2 +3 -13
jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/deployment/DeploymentObject.java
Index: DeploymentObject.java
===================================================================
RCS file:
/home/cvs/jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/deployment/DeploymentObject.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- DeploymentObject.java 2 Jul 2004 14:05:56 -0000 1.1
+++ DeploymentObject.java 9 Jul 2004 18:24:57 -0000 1.2
@@ -17,9 +17,8 @@
import java.io.IOException;
import java.io.InputStream;
-import java.io.Reader;
-import org.apache.commons.vfs.FileObject;
+import org.apache.jetspeed.util.FileSystemHelper;
/**
* <p>
@@ -37,15 +36,6 @@
{
/**
- * Gets the deployment artifacts content as a Stream
- * @return
- * @throws IOException
- */
- InputStream getAsStream() throws IOException;
-
- Reader getAsReader() throws IOException;
-
- /**
* Closes any resources that may have been opend during the use
* of this ObjectHandler.
* @throws IOException
@@ -92,7 +82,7 @@
* @return A <code>org.apache.commons.vfs.FileObject</code> that represents
the file structure of the
* object to deploy. This is usually a LocalFileSystem object or a
JarFileSystem object.
*/
- FileObject getFileObject();
+ FileSystemHelper getFileObject();
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]