//2012-06-07 johnpfeiffer
import java.net.URL;
public class OxygenFile
{
private String fileName;
private String fileId;
private URL downloadURL;
OxygenFile( String name , String id , URL url )
{
if ( name == null || id == null || url == null )
{
throw new IllegalArgumentException( "ERROR: name, id, or url cannot be null" );
}
this.fileName = name;
this.fileId = id;
this.downloadURL = url;
}
String getName()
{
return fileName;
}
String getId()
{
return fileId;
}
URL getUrl()
{
return downloadURL;
}
} // end inner class