Package com.nomagic.magicdraw.core
Interface FileLocationRegister
-
- All Known Implementing Classes:
EnvironmentSpecificFileLocations,ProjectSpecificLocationRegister
@OpenApiAll public interface FileLocationRegisterThis interface is used inEnvironmentSpecificFileLocationsandProjectSpecificLocationRegisterto manipulate with file locations storing places Implement this interface if you need to create new file locations saving type.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.io.FilegetFileLocation(java.lang.String locationNameID)This method should be used to get file object by locationNameID.voidsetFileLocation(java.lang.String locationNameID, java.io.File file)This method should be used to save file by locationNameID.
-
-
-
Method Detail
-
getFileLocation
java.io.File getFileLocation(java.lang.String locationNameID)
This method should be used to get file object by locationNameID.- Parameters:
locationNameID- a unique id for storing/getting file locations.- Returns:
- File type object.
-
setFileLocation
void setFileLocation(java.lang.String locationNameID, java.io.File file)This method should be used to save file by locationNameID.- Parameters:
locationNameID- a unique id for storing/getting file locations.file- type object
-
-