public class CaseSensitiveFileCodeWriter
extends com.sun.codemodel.CodeWriter
com.sun.codemodel.FileCodeWriter but has ability to create directories in lower case.| Constructor and Description |
|---|
CaseSensitiveFileCodeWriter(java.io.File target,
boolean readOnly,
boolean generateLowercasePath) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected java.io.File |
getFile(com.sun.codemodel.JPackage pkg,
java.lang.String fileName) |
java.io.OutputStream |
openBinary(com.sun.codemodel.JPackage pkg,
java.lang.String fileName) |
public CaseSensitiveFileCodeWriter(java.io.File target,
boolean readOnly,
boolean generateLowercasePath)
throws java.io.IOException
java.io.IOExceptionpublic java.io.OutputStream openBinary(com.sun.codemodel.JPackage pkg,
java.lang.String fileName)
throws java.io.IOException
openBinary in class com.sun.codemodel.CodeWriterjava.io.IOExceptionprotected java.io.File getFile(com.sun.codemodel.JPackage pkg,
java.lang.String fileName)
throws java.io.IOException
java.io.IOExceptionpublic void close()
throws java.io.IOException
close in class com.sun.codemodel.CodeWriterjava.io.IOException