Package org.apache.sling.maven.jspc
Class JspCIOProvider
- java.lang.Object
-
- org.apache.sling.maven.jspc.JspCIOProvider
-
- All Implemented Interfaces:
org.apache.sling.scripting.jsp.jasper.IOProvider
public class JspCIOProvider extends Object implements org.apache.sling.scripting.jsp.jasper.IOProvider
Implements the IOProvider for the JSPC plugin
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
delete(String fileName)
ClassLoader
getClassLoader()
org.apache.sling.commons.classloader.ClassLoaderWriter
getClassLoaderWriter()
InputStream
getInputStream(String fileName)
org.apache.sling.commons.compiler.JavaCompiler
getJavaCompiler()
OutputStream
getOutputStream(String fileName)
long
lastModified(String fileName)
boolean
mkdirs(String path)
boolean
rename(String oldFileName, String newFileName)
-
-
-
Method Detail
-
getOutputStream
public OutputStream getOutputStream(String fileName) throws IOException
- Specified by:
getOutputStream
in interfaceorg.apache.sling.scripting.jsp.jasper.IOProvider
- Throws:
IOException
-
getInputStream
public InputStream getInputStream(String fileName) throws IOException
- Specified by:
getInputStream
in interfaceorg.apache.sling.scripting.jsp.jasper.IOProvider
- Throws:
IOException
-
delete
public boolean delete(String fileName)
- Specified by:
delete
in interfaceorg.apache.sling.scripting.jsp.jasper.IOProvider
-
rename
public boolean rename(String oldFileName, String newFileName)
- Specified by:
rename
in interfaceorg.apache.sling.scripting.jsp.jasper.IOProvider
-
mkdirs
public boolean mkdirs(String path)
- Specified by:
mkdirs
in interfaceorg.apache.sling.scripting.jsp.jasper.IOProvider
-
lastModified
public long lastModified(String fileName)
- Specified by:
lastModified
in interfaceorg.apache.sling.scripting.jsp.jasper.IOProvider
-
getClassLoader
public ClassLoader getClassLoader()
- Specified by:
getClassLoader
in interfaceorg.apache.sling.scripting.jsp.jasper.IOProvider
-
getJavaCompiler
public org.apache.sling.commons.compiler.JavaCompiler getJavaCompiler()
- Specified by:
getJavaCompiler
in interfaceorg.apache.sling.scripting.jsp.jasper.IOProvider
-
getClassLoaderWriter
public org.apache.sling.commons.classloader.ClassLoaderWriter getClassLoaderWriter()
- Specified by:
getClassLoaderWriter
in interfaceorg.apache.sling.scripting.jsp.jasper.IOProvider
-
-