public class JavaCodeTransform extends Object implements Serializable
htmlFilter |__ ongoingMultiLineCommentFilter -> uriFilter |__ inlineCommentFilter |__ beginMultiLineCommentFilter -> ongoingMultiLineCommentFilter |__ stringFilter |__ keywordFilter |__ uriFilter |__ jxrFilter |__ importFilter
Constructor and Description |
---|
JavaCodeTransform(PackageManager packageManager,
FileManager fileManager) |
Modifier and Type | Method and Description |
---|---|
String |
getRevision()
The current revision of the module.
|
void |
transform(Path sourcefile,
Path destfile,
Locale locale,
String inputEncoding,
String outputEncoding,
Path javadocLinkDir,
String revision,
String bottom)
This is the public method for doing all transforms of code.
|
public JavaCodeTransform(PackageManager packageManager, FileManager fileManager)
public final void transform(Path sourcefile, Path destfile, Locale locale, String inputEncoding, String outputEncoding, Path javadocLinkDir, String revision, String bottom) throws IOException
sourcefile
- source filedestfile
- destination filelocale
- localeinputEncoding
- input encodingoutputEncoding
- output encodingjavadocLinkDir
- relative path to javadocsrevision
- revision of the modulebottom
- bottom textIOException
- in I/O failures in reading/writing filespublic final String getRevision()
Copyright © 2002–2024 The Apache Software Foundation. All rights reserved.