/** * Get the string representation of this Resource. * @return this FileResource formatted as a String. */ @Override public String toString() { if (isReference()) { return getCheckedRef().toString(); } if (file == null) { return "(unbound file resource)"; } String absolutePath = file.getAbsolutePath(); return FILE_UTILS.normalize(absolutePath).getAbsolutePath(); }
/** * Optional. Set a custom stylesheet to be used * * @param stylesheet The custom stylesheet */ public void setStylesheet(FileResource stylesheet) { this.log("Setting custom stylesheet " + stylesheet.toString(), LogLevel.DEBUG.getLevel()); this.stylesheet = stylesheet; }
mappedResources.add(new TypedResource(mappedResource, inputMapper.getType(), inputMapper.getContentType())); } else { log("Skipping non-exstent mapped resource: " + mappedResource.toString(), Project.MSG_DEBUG);
mappedResources.add(new TypedResource(mappedResource, inputMapper.getType(), inputMapper.getContentType())); } else { log("Skipping non-exstent mapped resource: " + mappedResource.toString(), Project.MSG_DEBUG);