org.sonar.wsclient.services
Class Source

java.lang.Object
  extended by org.sonar.wsclient.services.Model
      extended by org.sonar.wsclient.services.Source

public class Source
extends Model


Constructor Summary
Source()
           
 
Method Summary
 Source addLine(int index, String line)
           
 String getLine(int index)
           
 Collection<String> getLines()
           
 SortedMap<Integer,String> getLinesById()
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Source

public Source()
Method Detail

getLines

public Collection<String> getLines()

getLinesById

public SortedMap<Integer,String> getLinesById()

getLine

@CheckForNull
public String getLine(int index)

size

public int size()

addLine

public Source addLine(int index,
                      @Nullable
                      String line)


Copyright © 2009–2015 SonarSource. All rights reserved.