public class ActionSequenceResource extends Object implements IActionSequenceResource
FILE_RESOURCE, SOLUTION_FILE_RESOURCE, STRING, UNKNOWN_RESOURCE, URL_RESOURCE, XML
Constructor and Description |
---|
ActionSequenceResource(String name,
int sourceType,
String mimeType,
String address) |
ActionSequenceResource(String name,
int sourceType,
String mimeType,
String solutionName,
String solutionPath,
String location) |
Modifier and Type | Method and Description |
---|---|
String |
getAddress() |
InputStream |
getInputStream(RepositoryFilePermission actionOperation) |
InputStream |
getInputStream(RepositoryFilePermission actionoperation,
Locale locale) |
static InputStream |
getInputStream(String filePath,
Locale locale) |
long |
getLastModifiedDate(Locale locale) |
static long |
getLastModifiedDate(String filePath,
Locale locale) |
String |
getMimeType() |
String |
getName() |
static int |
getResourceType(String sourceTypeName) |
int |
getSourceType() |
public ActionSequenceResource(String name, int sourceType, String mimeType, String address)
public String getName()
getName
in interface IActionSequenceResource
public String getMimeType()
getMimeType
in interface IActionSequenceResource
public int getSourceType()
getSourceType
in interface IActionSequenceResource
public String getAddress()
getAddress
in interface IActionSequenceResource
public static int getResourceType(String sourceTypeName)
public static InputStream getInputStream(String filePath, Locale locale)
public long getLastModifiedDate(Locale locale)
public InputStream getInputStream(RepositoryFilePermission actionoperation, Locale locale)
getInputStream
in interface IActionSequenceResource
public InputStream getInputStream(RepositoryFilePermission actionOperation)
getInputStream
in interface IActionSequenceResource
Copyright © 2017 Hitachi Vantara. All rights reserved.