@Service(value=FileNameExtractor.class) @Properties(value={@Property(name="service.description",value="Apache Sling Filename Extractor Service"),@Property(name="service.vendor",value="The Apache Software Foundation")}) public class FileNameExtractorImpl extends Object implements FileNameExtractor
Constructor and Description |
---|
FileNameExtractorImpl() |
public String extract(String name)
extract
in interface FileNameExtractor
name
- of the file which may be a file's path or urlprotected String getDefaultEncoding()
Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.