refdiff.core.io.SourceFile Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of refdiff-core Show documentation
Show all versions of refdiff-core Show documentation
An automated tool to detect refactorings in version histories
package refdiff.core.io;
import java.nio.file.Path;
public final class SourceFile {
private final Path path;
public SourceFile(Path path) {
this.path = path;
}
public String getPath() {
return path.toString().replace('\\', '/');
}
@Override
public String toString() {
return getPath();
}
}