Is there any way to create the tree using the file content instead of using the path? #313
Unanswered
AnaytulIslamArpon
asked this question in
Q&A
Replies: 1 comment
-
Hi! You can use the Cheers. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
the srcTree and destTree are created using the src and dest file path. Is there any way to create the tree using the file content instead of using the path?
Tree srcTree = TreeGenerators.getInstance().getTree(src.getAbsolutePath()).getRoot(); // retrieves and applies the default parser for the file Tree destTree = TreeGenerators.getInstance().getTree(dest.getAbsolutePath()).getRoot(); // retrieves and applies the default parser for the file
Beta Was this translation helpful? Give feedback.
All reactions