예제 #1
0
 /**
  * Constructs a new Attributes object with the same attribute name-value
  * mappings as in the specified Attributes.
  *
  * @param attr the specified Attributes
  */
 public Attributes(Attributes attr) : this(attr.Count)
 {
     AddAll(attr);
 }
예제 #2
0
 /**
  * Creates a new <code>JarEntry</code> with fields taken from the
  * specified <code>JarEntry</code> object.
  *
  * @param je the <code>JarEntry</code> to copy
  */
 public JarEntry(JarEntry je)
     : this((ZipEntry)je)
 {
     this.attr = je.attr;
 }