1 31 package org.pdfbox.pdmodel.common.filespecification; 32 33 import org.pdfbox.cos.COSBase; 34 import org.pdfbox.cos.COSString; 35 36 42 public class PDSimpleFileSpecification extends PDFileSpecification 43 { 44 private COSString file; 45 46 50 public PDSimpleFileSpecification() 51 { 52 file = new COSString( "" ); 53 } 54 55 60 public PDSimpleFileSpecification( COSString fileName ) 61 { 62 file = fileName; 63 } 64 65 70 public String getFile() 71 { 72 return file.getString(); 73 } 74 75 80 public void setFile( String fileName ) 81 { 82 file = new COSString( fileName ); 83 } 84 85 90 public COSBase getCOSObject() 91 { 92 return file; 93 } 94 95 } 96 | Popular Tags |