comparison servlet/src/digilib/io/ImageFile.java @ 588:aee436f0549d stream

more work on stream input
author robcast
date Thu, 06 Jan 2011 14:37:50 +0100
parents 95417c4615b8
children 69bc69381ac4
comparison
equal deleted inserted replaced
587:720d061a1b30 588:aee436f0549d
34 34
35 // file 35 // file
36 private File file = null; 36 private File file = null;
37 // file name 37 // file name
38 private String name = null; 38 private String name = null;
39 // parent ImageSet
40 private ImageSet parent = null;
41 // parent directory 39 // parent directory
42 private Directory dir = null; 40 private Directory dir = null;
43 41
44 /** Constructor with File. 42 /** Constructor with File.
45 * 43 *
121 */ 119 */
122 public File getFile() { 120 public File getFile() {
123 return file; 121 return file;
124 } 122 }
125 123
126 /**
127 * @return ImageSet
128 */
129 public ImageSet getParent() {
130 return parent;
131 }
132
133 /**
134 * Sets the parent.
135 * @param parent The parent to set
136 */
137 public void setParent(ImageSet parent) {
138 this.parent = parent;
139 }
140
141 /* (non-Javadoc) 124 /* (non-Javadoc)
142 * @see digilib.io.ImageInput#setSize(digilib.image.ImageSize) 125 * @see digilib.io.ImageInput#setSize(digilib.image.ImageSize)
143 */ 126 */
144 public void setSize(ImageSize imageSize) { 127 public void setSize(ImageSize imageSize) {
145 this.pixelSize = imageSize; 128 this.pixelSize = imageSize;