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 booleandelete(String fileName)ClassLoadergetClassLoader()org.apache.sling.commons.classloader.ClassLoaderWritergetClassLoaderWriter()InputStreamgetInputStream(String fileName)org.apache.sling.commons.compiler.JavaCompilergetJavaCompiler()OutputStreamgetOutputStream(String fileName)longlastModified(String fileName)booleanmkdirs(String path)booleanrename(String oldFileName, String newFileName)
-
-
-
Method Detail
-
getOutputStream
public OutputStream getOutputStream(String fileName) throws IOException
- Specified by:
getOutputStreamin interfaceorg.apache.sling.scripting.jsp.jasper.IOProvider- Throws:
IOException
-
getInputStream
public InputStream getInputStream(String fileName) throws FileNotFoundException, IOException
- Specified by:
getInputStreamin interfaceorg.apache.sling.scripting.jsp.jasper.IOProvider- Throws:
FileNotFoundExceptionIOException
-
delete
public boolean delete(String fileName)
- Specified by:
deletein interfaceorg.apache.sling.scripting.jsp.jasper.IOProvider
-
rename
public boolean rename(String oldFileName, String newFileName)
- Specified by:
renamein interfaceorg.apache.sling.scripting.jsp.jasper.IOProvider
-
mkdirs
public boolean mkdirs(String path)
- Specified by:
mkdirsin interfaceorg.apache.sling.scripting.jsp.jasper.IOProvider
-
lastModified
public long lastModified(String fileName)
- Specified by:
lastModifiedin interfaceorg.apache.sling.scripting.jsp.jasper.IOProvider
-
getClassLoader
public ClassLoader getClassLoader()
- Specified by:
getClassLoaderin interfaceorg.apache.sling.scripting.jsp.jasper.IOProvider
-
getJavaCompiler
public org.apache.sling.commons.compiler.JavaCompiler getJavaCompiler()
- Specified by:
getJavaCompilerin interfaceorg.apache.sling.scripting.jsp.jasper.IOProvider
-
getClassLoaderWriter
public org.apache.sling.commons.classloader.ClassLoaderWriter getClassLoaderWriter()
- Specified by:
getClassLoaderWriterin interfaceorg.apache.sling.scripting.jsp.jasper.IOProvider
-
-