public final class PSMLFileDetector extends FileTypeDetector
If the filename of the path ends with ".psml", the probeContentType(Path)
method will return "application/vnd.pagaseeder.psml+xml"
.
Constructor and Description |
---|
PSMLFileDetector()
Zero-argument public constructor as required by
ServiceLoader . |
public PSMLFileDetector()
ServiceLoader
.public String probeContentType(Path path) throws IOException
probeContentType
in class FileTypeDetector
IOException
Copyright © 2016 Allette Systems. All rights reserved.