1 2 17 18 19 package org.apache.poi.poifs.filesystem; 20 21 import java.io.*; 22 23 import java.util.*; 24 25 import org.apache.poi.hpsf.ClassID; 26 27 33 34 public interface DirectoryEntry 35 extends Entry 36 { 37 38 48 49 public Iterator getEntries(); 50 51 56 57 public boolean isEmpty(); 58 59 66 67 public int getEntryCount(); 68 69 80 81 public Entry getEntry(final String name) 82 throws FileNotFoundException; 83 84 95 96 public DocumentEntry createDocument(final String name, 97 final InputStream stream) 98 throws IOException; 99 100 111 112 public DocumentEntry createDocument(final String name, final int size, 113 final POIFSWriterListener writer) 114 throws IOException; 115 116 125 126 public DirectoryEntry createDirectory(final String name) 127 throws IOException; 128 129 134 public ClassID getStorageClsid(); 135 136 141 public void setStorageClsid(ClassID clsidStorage); 142 143 } 145 | Popular Tags |