Batch changes from of review comments - there are more

This commit is contained in:
alandavis
2022-09-07 15:12:19 +01:00
parent 1abbae8e5b
commit 6e85b860e9
13 changed files with 81 additions and 54 deletions

View File

@@ -1,4 +1,4 @@
## Transform specific code
# Transform specific code
To create a new t-engine an author uses a base t-engine (a Spring Boot
application) and implements the following interfaces. An implementation of
@@ -11,7 +11,7 @@ one format to another without really worrying about all the plumbing.
Typically, the transform specific code uses a 3rd party library or an
external executable which needs to be added to the Docker image.
~~~
~~~java
package org.alfresco.transform;
import org.alfresco.transform.config.TransformConfig;
@@ -49,7 +49,7 @@ public interface TransformEngine
implementations of the following interface provide the actual transform code.
~~~
~~~java
package org.alfresco.transform;
import java.io.InputStream;
@@ -81,7 +81,7 @@ The implementation of the following interface is provided by the t-base,
allows the `CustomTransformer` to interact with the base t-engine. The
creation of Files is discouraged as it is better not to leave files on disk.
~~~
~~~java
package org.alfresco.transform.base;
import java.io.File;
@@ -137,4 +137,4 @@ public interface TransformManager
* @throws IOException if there was a problem sending the response.
OutputStream respondWithFragment(Integer index);
}
~~~
~~~