public class SubmodelFileEndpointLoader extends Object
| Constructor and Description |
|---|
SubmodelFileEndpointLoader() |
| Modifier and Type | Method and Description |
|---|---|
static void |
setRelativeFileEndpoints(org.eclipse.basyx.submodel.metamodel.api.ISubModel submodel,
String fileRoot)
Sets all file and blob submodelElements inside of the submodel to an endpoint at a given host relative
to its original path.
|
static void |
setRelativeFileEndpoints(org.eclipse.basyx.submodel.metamodel.api.ISubModel submodel,
String host,
int port,
String path)
Sets all file and blob submodelElements inside of the submodel to an endpoint at a given host relative
to its original path.
|
public static void setRelativeFileEndpoints(org.eclipse.basyx.submodel.metamodel.api.ISubModel submodel,
String host,
int port,
String path)
submodel - host - e.g. localhostport - port for the hostpath - path at which the files are hosted on the host (e.g. "/files")public static void setRelativeFileEndpoints(org.eclipse.basyx.submodel.metamodel.api.ISubModel submodel,
String fileRoot)
submodel - fileRoot - the full root path for the files (e.g. "http://localhost:1234/myFiles")Copyright © 2021. All rights reserved.