1 11 package org.eclipse.jdt.core; 12 13 import org.eclipse.core.runtime.IProgressMonitor; 14 15 30 public interface IPackageFragment extends IParent, IJavaElement, IOpenable, ISourceManipulation { 31 32 38 public static final String DEFAULT_PACKAGE_NAME = ""; 45 boolean containsJavaResources() throws JavaModelException; 46 73 ICompilationUnit createCompilationUnit(String name, String contents, boolean force, IProgressMonitor monitor) throws JavaModelException; 74 82 IClassFile getClassFile(String name); 83 94 IClassFile[] getClassFiles() throws JavaModelException; 95 105 ICompilationUnit getCompilationUnit(String name); 106 118 ICompilationUnit[] getCompilationUnits() throws JavaModelException; 119 137 ICompilationUnit[] getCompilationUnits(WorkingCopyOwner owner) throws JavaModelException; 138 145 String getElementName(); 146 158 int getKind() throws JavaModelException; 159 184 Object [] getNonJavaResources() throws JavaModelException; 185 194 boolean hasSubpackages() throws JavaModelException; 195 201 boolean isDefaultPackage(); 202 } 203 | Popular Tags |