net.sourceforge.pmd.cpd
Class SourceCode

java.lang.Object
  extended bynet.sourceforge.pmd.cpd.SourceCode

public class SourceCode
extends java.lang.Object


Constructor Summary
SourceCode(java.lang.String fileName)
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 java.util.List getCode()
           
 java.lang.StringBuffer getCodeBuffer()
           
 java.lang.String getFileName()
           
 java.lang.String getSlice(int startLine, int endLine)
           
 int hashCode()
           
 void readSource(java.io.Reader input)
           
 void setCode(java.util.List l)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SourceCode

public SourceCode(java.lang.String fileName)
Method Detail

getCode

public java.util.List getCode()

setCode

public void setCode(java.util.List l)

getCodeBuffer

public java.lang.StringBuffer getCodeBuffer()

readSource

public void readSource(java.io.Reader input)
                throws java.io.IOException
Throws:
java.io.IOException

getSlice

public java.lang.String getSlice(int startLine,
                                 int endLine)

getFileName

public java.lang.String getFileName()

equals

public boolean equals(java.lang.Object other)

hashCode

public int hashCode()


Copyright © 2002-2004 Project Ultra*Log @ DARPA. All Rights Reserved.