class ResourceUtils {

    public String getBaseFileName(final Path path) {
        final ClientResourceType resourceType = classifier.findResourceType(path);
        final String baseName = Utils.getBaseFileName(path.getFileName(),
                                                      resourceType.getSuffix());

        return baseName;
    }

    @Inject public  ResourceUtils(final Classifier classifier,
                         final ManagedInstance<NewResourceHandler> newResourceHandlers);

}