Package com.nomagic.magicdraw.core
Interface FileLocationRegister
-
- All Known Implementing Classes:
EnvironmentSpecificFileLocations
,ProjectSpecificLocationRegister
@OpenApiAll public interface FileLocationRegister
This interface is used inEnvironmentSpecificFileLocations
andProjectSpecificLocationRegister
to 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.File
getFileLocation(java.lang.String locationNameID)
This method should be used to get file object by locationNameID.void
setFileLocation(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
-
-