Klasse Fragment
java.lang.Object
edu.hm.hafner.analysis.parser.dry.dupfinder.Fragment
Java Bean class for a Reshaper DupFinder fragment.
- Autor:
- Rafal Jasica
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns the file name.Returns the line range.Returns the offset range.getText()Returns the text.voidsetFileName(String fileName) Sets the file name to the specified value.voidsetLineRange(Range lineRange) Sets the line range to the specified value.voidsetOffsetRange(Range offsetRange) Sets the offset range to the specified value.voidSets the text to the specified value.
-
Konstruktordetails
-
Fragment
public Fragment()
-
-
Methodendetails
-
getFileName
Returns the file name.- Gibt zurück:
- the path of this file
-
setFileName
Sets the file name to the specified value.- Parameter:
fileName- the value to set
-
getText
Returns the text.- Gibt zurück:
- the text
-
setText
Sets the text to the specified value.- Parameter:
text- the value to set
-
getLineRange
Returns the line range.- Gibt zurück:
- the line range
-
setLineRange
Sets the line range to the specified value.- Parameter:
lineRange- the value to set
-
getOffsetRange
Returns the offset range.- Gibt zurück:
- the offset range
-
setOffsetRange
Sets the offset range to the specified value.- Parameter:
offsetRange- the value to set
-