Class PathNamingServiceImpl

  • All Implemented Interfaces:
    org.uberfire.ext.editor.commons.service.PathNamingService

    @ApplicationScoped
    public class PathNamingServiceImpl
    extends Object
    implements org.uberfire.ext.editor.commons.service.PathNamingService
    • Constructor Detail

      • PathNamingServiceImpl

        public PathNamingServiceImpl()
    • Method Detail

      • buildTargetPath

        public org.uberfire.backend.vfs.Path buildTargetPath​(org.uberfire.backend.vfs.Path originalPath,
                                                             String targetFileName)
        Specified by:
        buildTargetPath in interface org.uberfire.ext.editor.commons.service.PathNamingService
      • buildTargetPath

        public org.uberfire.backend.vfs.Path buildTargetPath​(org.uberfire.backend.vfs.Path originalPath,
                                                             org.uberfire.backend.vfs.Path targetParentDirectory,
                                                             String targetFileName)
        Specified by:
        buildTargetPath in interface org.uberfire.ext.editor.commons.service.PathNamingService
      • getExtension

        public String getExtension​(String fileName)
        Specified by:
        getExtension in interface org.uberfire.ext.editor.commons.service.PathNamingService
      • getResourceTypeDefinitions

        public Iterable<org.uberfire.workbench.type.ResourceTypeDefinition> getResourceTypeDefinitions()