org.apache.jetspeed.deployment.impl
Class StandardDeploymentObject

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

public class StandardDeploymentObject
extends Object
implements org.apache.jetspeed.deployment.DeploymentObject

DeploymentObject

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

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

Field Detail

deploymentObject

protected File deploymentObject

zipFile

protected ZipFile zipFile
Constructor Detail

StandardDeploymentObject

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

close

public void close()
           throws IOException

close

Specified by:
close in interface org.apache.jetspeed.deployment.DeploymentObject
Throws:
IOException
See Also:
DeploymentObject.close()

getConfiguration

public InputStream getConfiguration(String configPath)
                             throws IOException

getConfiguration

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

getName

public String getName()

getName

Specified by:
getName in interface org.apache.jetspeed.deployment.DeploymentObject
Returns:
See Also:
DeploymentObject.getName()

getPath

public String getPath()

getPath

Specified by:
getPath in interface org.apache.jetspeed.deployment.DeploymentObject
Returns:
See Also:
DeploymentObject.getPath()

getZipFile

public ZipFile getZipFile()
                   throws IOException
Throws:
IOException

getFile

public File getFile()
Specified by:
getFile in interface org.apache.jetspeed.deployment.DeploymentObject

verifyExtension

protected boolean verifyExtension(File file)


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