public class SmapStratum
extends java.lang.Object
Constructor and Description |
---|
SmapStratum()
Constructs a new SmapStratum object with the stratum name JSP.
|
SmapStratum(java.lang.String stratumName)
Deprecated.
Use the no-arg constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addFile(java.lang.String filename)
Adds record of a new file, by filename.
|
void |
addFile(java.lang.String filename,
java.lang.String filePath)
Adds record of a new file, by filename and path.
|
void |
addLineData(int inputStartLine,
java.lang.String inputFileName,
int inputLineCount,
int outputStartLine,
int outputLineIncrement)
Adds complete information about a simple line mapping.
|
java.lang.String |
getStratumName()
Deprecated.
Unused. This will be removed in Tomcat 9.0.x
|
java.lang.String |
getString() |
void |
optimizeLineSection()
Combines consecutive LineInfos wherever possible
|
java.lang.String |
toString() |
public SmapStratum()
@Deprecated public SmapStratum(java.lang.String stratumName)
stratumName
- the name of the stratum (e.g., JSP)public void addFile(java.lang.String filename)
filename
- the filename to add, unqualified by path.public void addFile(java.lang.String filename, java.lang.String filePath)
filename
- the filename to add, unqualified by pathfilePath
- the path for the filename, potentially relative
to a source compilation pathpublic void optimizeLineSection()
public void addLineData(int inputStartLine, java.lang.String inputFileName, int inputLineCount, int outputStartLine, int outputLineIncrement)
inputStartLine
- starting line in the source file
(SMAP InputStartLine)inputFileName
- the filepath (or name) from which the input comes
(yields SMAP LineFileID) Use unqualified names
carefully, and only when they uniquely identify a file.inputLineCount
- the number of lines in the input to map
(SMAP LineFileCount)outputStartLine
- starting line in the output file
(SMAP OutputStartLine)outputLineIncrement
- number of output lines to map to each
input line (SMAP OutputLineIncrement). Given the
fact that the name starts with "output", I continuously have
the subconscious urge to call this field
OutputLineExcrement.@Deprecated public java.lang.String getStratumName()
public java.lang.String getString()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.