john pfeiffer
  • Home
  • Categories
  • Tags
  • Archives

slideshow oxygen hackathon oxygenfile

//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

  • « slideshow oxygen hackathon oxygenlogin
  • HttpURLConnection checkurl »

Published

Jun 18, 2012

Category

java-oxygencloud

~62 words

Tags

  • hackathon 5
  • java 252
  • oxygen 14
  • oxygencloud 19
  • oxygenfile 2
  • slideshow 8