1 2 17 18 19 package org.apache.poi.hpsf.basic; 20 21 import org.apache.poi.poifs.filesystem.POIFSDocumentPath; 22 23 24 25 32 public class POIFile 33 { 34 35 private String name; 36 private POIFSDocumentPath path; 37 private byte[] bytes; 38 39 40 45 public void setName(final String name) 46 { 47 this.name = name; 48 } 49 50 55 public String getName() 56 { 57 return name; 58 } 59 60 65 public void setPath(final POIFSDocumentPath path) 66 { 67 this.path = path; 68 } 69 70 75 public POIFSDocumentPath getPath() 76 { 77 return path; 78 } 79 80 85 public void setBytes(final byte[] bytes) 86 { 87 this.bytes = bytes; 88 } 89 90 95 public byte[] getBytes() 96 { 97 return bytes; 98 } 99 100 } 101 | Popular Tags |