Class PathNamingServiceImpl
- java.lang.Object
-
- org.uberfire.ext.editor.commons.backend.service.naming.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 Summary
Constructors Constructor Description PathNamingServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.uberfire.backend.vfs.PathbuildTargetPath(org.uberfire.backend.vfs.Path originalPath, String targetFileName)org.uberfire.backend.vfs.PathbuildTargetPath(org.uberfire.backend.vfs.Path originalPath, org.uberfire.backend.vfs.Path targetParentDirectory, String targetFileName)StringgetExtension(String fileName)Iterable<org.uberfire.workbench.type.ResourceTypeDefinition>getResourceTypeDefinitions()
-
-
-
Method Detail
-
buildTargetPath
public org.uberfire.backend.vfs.Path buildTargetPath(org.uberfire.backend.vfs.Path originalPath, String targetFileName)- Specified by:
buildTargetPathin interfaceorg.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:
buildTargetPathin interfaceorg.uberfire.ext.editor.commons.service.PathNamingService
-
getExtension
public String getExtension(String fileName)
- Specified by:
getExtensionin interfaceorg.uberfire.ext.editor.commons.service.PathNamingService
-
getResourceTypeDefinitions
public Iterable<org.uberfire.workbench.type.ResourceTypeDefinition> getResourceTypeDefinitions()
-
-