Package com.comsol.model
Interface FileResource
-
- All Superinterfaces:
ModelEntity,PrimitiveModelEntity
public interface FileResource extends ModelEntity
A file that is referenced by one or more model features. The file is stored in the .mph file but transferred to temporary files when loaded; it is never stored in memory.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.lang.Stringarchive()Returns the path in the .mph file archive where the file is stored.voidarchive(java.lang.String arg0)Deprecated.This method does nothing.java.lang.Stringresource()Returns the name of the temporary file that holds the resource.voidresource(java.lang.String name)Sets the name of the file that holds the resource.-
Methods inherited from interface com.comsol.model.ModelEntity
active, author, author, comments, comments, dateCreated, dateModified, docMarker, docMarker, help, help, icon, isactive, isActive, label, label, lastModifiedBy, model, model, name, name, resetAuthor, scope, tag, tag, timeCreated, timeModified, version, version
-
Methods inherited from interface com.comsol.model.PrimitiveModelEntity
getContainer, getDisplayString, resolveModelPath
-
-
-
-
Method Detail
-
archive
java.lang.String archive()
Returns the path in the .mph file archive where the file is stored.- Returns:
- File name path.
-
archive
@Deprecated void archive(java.lang.String arg0)
Deprecated.This method does nothing.
-
resource
java.lang.String resource()
Returns the name of the temporary file that holds the resource.- Returns:
- Name of temporary file.
-
resource
void resource(java.lang.String name)
Sets the name of the file that holds the resource. The file must be a client side file.- Parameters:
name- File name.
-
-