1 19 20 package org.jperdian.rss2.dom; 21 22 import java.io.Serializable ; 23 import java.net.URL ; 24 25 31 32 public class RssEnclosure implements Serializable { 33 34 private URL myURL = null; 35 private long myLength = -1; 36 private String myType = ""; 37 38 39 43 public long getLength() { 44 return this.myLength; 45 } 46 47 public void setLength(long length) { 48 this.myLength = length; 49 } 50 51 public String getType() { 52 return this.myType; 53 } 54 55 public void setType(String type) { 56 this.myType = type; 57 } 58 59 public URL getURL() { 60 return this.myURL; 61 } 62 63 public void setURL(URL url) { 64 this.myURL = url; 65 } 66 67 } | Popular Tags |