com.dragome.commons.compiler.classpath.AbstractClasspathFile Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dragome-js-commons Show documentation
Show all versions of dragome-js-commons Show documentation
Dragome SDK module: commons
The newest version!
package com.dragome.commons.compiler.classpath;
import java.io.IOException;
import java.io.InputStream;
public abstract class AbstractClasspathFile implements ClasspathFile
{
protected long lastModified;
protected InputStream inputStream;
protected String path;
public AbstractClasspathFile(String path)
{
this.path= path;
}
public long getLastModified()
{
return lastModified;
}
public void close()
{
try
{
inputStream.close();
}
catch (IOException e)
{
throw new RuntimeException(e);
}
}
public String getPath()
{
return path;
}
public long getCRC()
{
return lastModified;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy