org.apache.jetspeed.deployment.impl
Class StandardDeploymentObject

java.lang.Object
  extended by org.apache.jetspeed.deployment.impl.StandardDeploymentObject
All Implemented Interfaces:
DeploymentObject

public class StandardDeploymentObject
extends java.lang.Object
implements DeploymentObject

DeploymentObject

Version:
$Id: StandardDeploymentObject.java 516448 2007-03-09 16:25:47Z ate $
Author:
Scott T. Weaver

Field Summary
protected  java.io.File deploymentObject
           
protected  java.util.zip.ZipFile zipFile
           
 
Constructor Summary
StandardDeploymentObject(java.io.File deploymentObject)
           
 
Method Summary
 void close()
           close
 java.io.InputStream getConfiguration(java.lang.String configPath)
           getConfiguration
 java.io.File getFile()
           
 java.lang.String getName()
           getName
 java.lang.String getPath()
           getPath
 java.util.zip.ZipFile getZipFile()
           
protected  boolean verifyExtension(java.io.File file)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

deploymentObject

protected java.io.File deploymentObject

zipFile

protected java.util.zip.ZipFile zipFile
Constructor Detail

StandardDeploymentObject

public StandardDeploymentObject(java.io.File deploymentObject)
                         throws FileNotDeployableException
Throws:
java.io.IOException
FileNotDeployableException
Method Detail

close

public void close()
           throws java.io.IOException

close

Specified by:
close in interface DeploymentObject
Throws:
java.io.IOException
See Also:
DeploymentObject.close()

getConfiguration

public java.io.InputStream getConfiguration(java.lang.String configPath)
                                     throws java.io.IOException

getConfiguration

Specified by:
getConfiguration in interface DeploymentObject
Parameters:
configPath -
Returns:
Throws:
java.io.IOException
See Also:
DeploymentObject.getConfiguration(java.lang.String)

getName

public java.lang.String getName()

getName

Specified by:
getName in interface DeploymentObject
Returns:
See Also:
DeploymentObject.getName()

getPath

public java.lang.String getPath()

getPath

Specified by:
getPath in interface DeploymentObject
Returns:
See Also:
DeploymentObject.getPath()

getZipFile

public java.util.zip.ZipFile getZipFile()
                                 throws java.io.IOException
Throws:
java.io.IOException

getFile

public java.io.File getFile()
Specified by:
getFile in interface DeploymentObject
Returns:
the underlying File object

verifyExtension

protected boolean verifyExtension(java.io.File file)


Copyright © 1999-2010 Apache Software Foundation. All Rights Reserved.