com.softicar.platform.common.core.java.classpath.JavaClasspathUnknownRoot Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of platform-common Show documentation
Show all versions of platform-common Show documentation
The SoftiCAR Platform is a lightweight, Java-based library to create interactive business web applications.
package com.softicar.platform.common.core.java.classpath;
import com.softicar.platform.common.io.classpath.file.IClasspathFile;
import java.io.File;
import java.util.Collection;
import java.util.Collections;
/**
* Represents an {@link IJavaClasspathRoot} that is neither a folder nor a JAR
* file.
*
* @author Oliver Richers
*/
public class JavaClasspathUnknownRoot extends AbstractJavaClasspathRoot {
public JavaClasspathUnknownRoot(File file) {
super(file);
}
@Override
public String toString() {
return getFile().getAbsolutePath();
}
@Override
public Collection getAllFiles() {
return Collections.emptyList();
}
}