Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.webengine.scripting
Class ScriptFile

java.lang.Object
  extended by org.nuxeo.ecm.webengine.scripting.ScriptFile

public final class ScriptFile
extends Object

Author:
Bogdan Stefanescu

Field Summary
static String ROOT_PATH
           
 
Constructor Summary
ScriptFile(File file)
           
 
Method Summary
 String getAbsolutePath()
           
 String getExtension()
           
 File getFile()
           
 String getFileName()
           
 InputStream getInputStream()
           
 String getRelativePath()
           
 String getURL()
           
 boolean isTemplate()
           
 long lastModified()
           
 String toString()
           
 URI toURI()
           
 URL toURL()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ROOT_PATH

public static final String ROOT_PATH
Constructor Detail

ScriptFile

public ScriptFile(File file)
           throws IOException
Throws:
IOException
Method Detail

isTemplate

public boolean isTemplate()

getFile

public File getFile()

getExtension

public String getExtension()

getAbsolutePath

public String getAbsolutePath()

getRelativePath

public String getRelativePath()

getFileName

public String getFileName()

getURL

public String getURL()
              throws MalformedURLException
Throws:
MalformedURLException

toURL

public URL toURL()
          throws MalformedURLException
Throws:
MalformedURLException

toURI

public URI toURI()

toString

public String toString()
Overrides:
toString in class Object

lastModified

public long lastModified()

getInputStream

public InputStream getInputStream()
                           throws IOException
Throws:
IOException

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.