1 23 24 package com.sun.enterprise.appclient.jws; 25 26 31 32 public abstract class Content { 33 34 protected final String lineSep = System.getProperty("line.separator"); 35 36 40 private String path; 41 42 45 protected String contentKey; 46 47 48 private ContentOrigin origin; 49 50 51 public Content(ContentOrigin origin, String contentKey, String path) { 52 this.origin = origin; 53 this.contentKey = contentKey; 54 this.path = path; 55 } 56 57 61 public String getPath() { 62 return path; 63 } 64 65 71 public String getContentKey() { 72 return contentKey; 73 } 74 75 79 public ContentOrigin getOrigin() { 80 return origin; 81 } 82 83 88 public String toString() { 89 return getClass().getName() + ": content key=" + getContentKey() + ", path=" + getPath(); 90 } 91 } 92 | Popular Tags |