Access text generated resources

On an intention I would like to:
1) trigger text generation, if needed
2) access the result of text generation (just getting the path to the generated file would be enough, from there I could read the actual file, right?)

2 comments

Is it just text generation (i.e. apply TextGen components directly), which yields POJO with text you can process, or complete make sequence (which includes generators and optional serialization to file)? For the latter, TextPreviewModel action could give you a hint - it's not a very clear and straightforward activity, though.

1

Thanks I will look into TextPreviewModel

0

Please sign in to leave a comment.