Class UnorderedGroupsSplitter


  • public class UnorderedGroupsSplitter
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.eclipse.emf.ecore.resource.Resource getResource​(java.lang.String input, org.eclipse.xtext.resource.IResourceFactory resourceFactory)  
      protected java.lang.String saveResource​(org.eclipse.emf.ecore.resource.Resource resource)  
      boolean shouldSimplify​(java.lang.String line)  
      java.lang.String transform()  
      protected java.lang.String transformContent​(org.eclipse.xtext.resource.IResourceFactory resourceFactory)  
      java.lang.String transfromLine​(java.lang.String line, org.eclipse.xtext.resource.IResourceFactory resourceFactory)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UnorderedGroupsSplitter

        public UnorderedGroupsSplitter​(java.lang.String content)
    • Method Detail

      • transform

        public java.lang.String transform()
      • transformContent

        protected java.lang.String transformContent​(org.eclipse.xtext.resource.IResourceFactory resourceFactory)
      • transfromLine

        public java.lang.String transfromLine​(java.lang.String line,
                                              org.eclipse.xtext.resource.IResourceFactory resourceFactory)
                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • saveResource

        protected java.lang.String saveResource​(org.eclipse.emf.ecore.resource.Resource resource)
                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • getResource

        protected org.eclipse.emf.ecore.resource.Resource getResource​(java.lang.String input,
                                                                      org.eclipse.xtext.resource.IResourceFactory resourceFactory)
                                                               throws java.io.IOException
        Throws:
        java.io.IOException
      • shouldSimplify

        public boolean shouldSimplify​(java.lang.String line)