/** * Sets the resourcesPath. * * @param resourcesPath * The resourcesPath to set */ public void setResourcesPath(String resourcesPath) { this.resourcesPath = resourcesPath; setInputFilepath(resourcesPath); setOutputFilepath(resourcesPath); }
public void initialize() { ArchiveURIConverterImpl converter = new ArchiveURIConverterImpl(getArchive(), getDirectoryName()); converter.setOutputFilepath(getDirectoryName()); setUriConverter(converter); }
public void initialize() { ArchiveURIConverterImpl converter = new ArchiveURIConverterImpl(getArchive(), getDirectoryName()); converter.setOutputFilepath(getDirectoryName()); setUriConverter(converter); }
public ArchiveURIConverterImpl(org.eclipse.jst.j2ee.commonarchivecore.internal.Archive anArchive, String resourcesPath) { setArchive(anArchive); this.resourcesPath = resourcesPath; setInputFilepath(resourcesPath); String outpath = resourcesPath; if (outpath == null) { LoadStrategy l = anArchive.getLoadStrategy(); if (l != null && l.isDirectory()) { try { outpath = l.getAbsolutePath(); } catch (FileNotFoundException ignore) { //Ignore } } } setOutputFilepath(outpath); }