jetbrains.buildServer.duplicator
Class DuplicateInfo.CharOffset

java.lang.Object
  extended by jetbrains.buildServer.duplicator.DuplicateInfo.FragmentOffset
      extended by jetbrains.buildServer.duplicator.DuplicateInfo.CharOffset
Enclosing class:
DuplicateInfo

public static class DuplicateInfo.CharOffset
extends DuplicateInfo.FragmentOffset

Offsets calculated as absolute char offset within a file.


Field Summary
static java.lang.String PREFIX
           
 
Constructor Summary
DuplicateInfo.CharOffset(int startOffset, int endOffset)
           
DuplicateInfo.CharOffset(java.lang.String serialized)
           
 
Method Summary
 java.lang.String extractFragment(java.lang.String fileContent)
           
 java.lang.String getAsString()
           
 
Methods inherited from class jetbrains.buildServer.duplicator.DuplicateInfo.FragmentOffset
createFromString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PREFIX

public static final java.lang.String PREFIX
See Also:
Constant Field Values
Constructor Detail

DuplicateInfo.CharOffset

public DuplicateInfo.CharOffset(int startOffset,
                                int endOffset)

DuplicateInfo.CharOffset

public DuplicateInfo.CharOffset(java.lang.String serialized)
Method Detail

getAsString

public java.lang.String getAsString()
Specified by:
getAsString in class DuplicateInfo.FragmentOffset

extractFragment

public java.lang.String extractFragment(java.lang.String fileContent)
Specified by:
extractFragment in class DuplicateInfo.FragmentOffset