public ArtifactSet getArtifactsForPublicResources(TreeLogger logger,
ModuleDef module) {
ArtifactSet artifacts = new ArtifactSet();
for (String path : publicResourceOracle.getPathNames()) {
String partialPath = path.replace(File.separatorChar, '/');
PublicResource resource = new StandardPublicResource(partialPath,
publicResourceOracle.getResourceMap().get(path));
artifacts.add(resource);
if (logger.isLoggable(TreeLogger.SPAM)) {
logger.log(TreeLogger.SPAM, "Added public resource " + resource, null);
}