Class RegexComponent
java.lang.Object
org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent
org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent2
tools.mdsd.ecoreworkflow.mwe2lib.component.RegexComponent
- All Implemented Interfaces:
WorkflowComponent
,WorkflowComponentWithID
,IWorkflowComponent
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addReplacement
(Replacement replacement) determineFilesToReplace
(Replacement replacement) protected URI
protected URI
ensureURIHasScheme
(URI uri) protected URI
fromFilename
(String filename) protected Path
protected Path
getPathOfFileURI
(URI uri) protected void
invokeInternal
(WorkflowContext arg0, ProgressMonitor arg1, Issues arg2) protected String
void
setCharset
(Charset charset) protected void
Methods inherited from class org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent2
checkConfiguration, checkConfigurationInternal
Methods inherited from class org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent
checkRequiredConfigProperty, getBridge, getComponentName, getContainer, getId, getLocation, getLogMessage, invoke, invoke, postInvoke, preInvoke, setContainer, setId, setLocation, setSkipOnErrors
-
Field Details
-
uriConverter
-
-
Constructor Details
-
RegexComponent
public RegexComponent()
-
-
Method Details
-
setCharset
-
addReplacement
-
invokeInternal
- Specified by:
invokeInternal
in classAbstractWorkflowComponent
-
readFile
- Throws:
IOException
-
writeFile
- Throws:
IOException
-
determineFilesToReplace
- Throws:
IOException
-
fromFilename
-
parseURI
-
getPathOfDirectoryOnFilesystem
-
getPathOfFileURI
-
ensureURIHasScheme
-
ensureEmptyLastSegment
-