Package cuchaz.enigma.mapping

Examples of cuchaz.enigma.mapping.Mappings


   
    // init defaults
    m_translatorCache = Maps.newTreeMap();
   
    // init mappings
    setMappings( new Mappings() );
  }
View Full Code Here


  }
  public void setMappings( Mappings val )
  {
    if( val == null )
    {
      val = new Mappings();
    }
   
    // pass 1: look for any classes that got moved to inner classes
    Map<String,String> renames = Maps.newHashMap();
    for( ClassMapping classMapping : val.classes() )
View Full Code Here

    fallbackMatching.put( "none/ayb", "none/ayf" );
    fallbackMatching.put( "none/ayd", "none/ayd" );
    fallbackMatching.put( "none/bgk", "unknown/bgk" );
   
    // do the conversion
    Mappings mappings = new MappingsReader().read( new FileReader( inMappingsFile ) );
    convertMappings( sourceJar, destJar, mappings, fallbackMatching );
   
    // write out the converted mappings
    FileWriter writer = new FileWriter( outMappingsFile );
    new MappingsWriter().write( writer, mappings );
View Full Code Here

TOP

Related Classes of cuchaz.enigma.mapping.Mappings

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.