protected RuntimeClasspathEntry createRuntimeClasspathEntry(String absolutePath) { RuntimeClasspathEntry entry = new RuntimeClasspathEntryImpl(); entry.setAbsolutePath(absolutePath); return entry; }
protected static RuntimeClasspathEntry createRuntimeClasspathEntry(String absolutePath, String manifestValue) { RuntimeClasspathEntry entry = new RuntimeClasspathEntryImpl(); entry.setAbsolutePath(absolutePath); entry.setManifestValue(manifestValue); return entry; }
public static void init(boolean shouldPreRegisterPackages) { if (!initialized) { initialized = true; invokePrereqInits(shouldPreRegisterPackages); if (shouldPreRegisterPackages) preRegisterPackages(); } }
protected final ArchiveOptions getArchiveOptions() { ArchiveOptions opts = new ArchiveOptions(); opts.setIsReadOnly(true); return opts; }
public ArchiveOptions cloneWith(LoadStrategy aLoadStrategy, String uri) { ArchiveOptions result = cloneWith(aLoadStrategy); result.setIsReadOnly(isReadOnly(uri)); return result; }
protected ArchiveOptions defaultOptions(LoadStrategy aLoadStrategy) { ArchiveOptions options = new ArchiveOptions(); options.setLoadStrategy(aLoadStrategy); return options; }
/** * FileExtensionsFilterImpl constructor comment. */ public FileExtensionsFilterImpl(Set extensionsToExclude, boolean caseSensitive) { super(); setExcludedExtensions(extensionsToExclude); setIsCaseSensitive(caseSensitive); initialize(); }
public org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.ArchiveOptions getOptions() { if (options == null) { options = new ArchiveOptions(); } return options; }
/** * Sets the resourcesPath. * * @param resourcesPath * The resourcesPath to set */ public void setResourcesPath(String resourcesPath) { this.resourcesPath = resourcesPath; setInputFilepath(resourcesPath); setOutputFilepath(resourcesPath); }
private static void resolveProxies(EObject refObject) { if (refObject != null) { resolveNonContainedProxies(refObject); resolveContainedProxies(refObject); } }
/** * @see com.ibm.etools.archive.ArchiveManifest */ public void appendClassPath(java.lang.String extension) { String classPath = getClassPath(); if (classPath != null) setClassPath(classPath + " " + extension);//$NON-NLS-1$ else setClassPath(extension); }
public boolean equals(Object o) { if (o instanceof RuntimeClasspathEntry) return getAbsolutePath().equals(((RuntimeClasspathEntry) o).getAbsolutePath()); return false; }
public String getImplementationTitle() { return (String) get(IMPLEMENTATION_TITLE); }
/** * Make a copy of the reciever, setting the loadStrategy to null */ public Object clone() { return cloneWith(null); }
/** * Parameter must be a set of valid uris in the archive */ public SelectedFilesFilterImpl(Set fileNames) { super(); setSelectedFileNames(fileNames); }
/** * Insert the method's description here. Creation date: (02/28/01 4:11:28 PM) * * @return com.ibm.etools.archive.SaveFilter */ public org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.SaveFilter getFilter() { if (filter == null) filter = new SaveFilterImpl(); return filter; }
/** * Insert the method's description here. Creation date: (11/29/00 6:35:08 PM) * * @param newExportStrategy * com.ibm.etools.archive.ExportStrategy */ public void setExportStrategy(org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.ExportStrategy newExportStrategy) { exportStrategy = newExportStrategy; if (newExportStrategy != null) { newExportStrategy.setArchive(this); } }
/** * @see ArchiveTypeDiscriminator#openArchive(Archive) */ public Archive openArchive(Archive anArchive) throws OpenFailureException { Archive result = super.openArchive(anArchive); if (result == anArchive) //Couldn't convert return null; return result; }
public void setName(String value) { put(NAME, value); }
public String getSpecificationVendor() { return (String) get(SPECIFICATION_VENDOR); }