Class SectorModUtils


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

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static SectorModUtils getInstance()  
      java.lang.String getName​(int version, int symbolSet, int location, java.lang.String code)  
      java.util.ArrayList<java.lang.String[]> getSectorModList​(int version, int symbolSet, int location)  
      • Methods inherited from class java.lang.Object

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

      • getSectorModList

        public java.util.ArrayList<java.lang.String[]> getSectorModList​(int version,
                                                                        int symbolSet,
                                                                        int location)
        Parameters:
        version - like SymbolID.Version_2525Dch1 or SymbolID.Version_2525Ech1 Only tracks sector mods for these 2 versions.
        symbolSet - like SymbolID.SymbolSet_Air; use 0 for Common Modifiers as they are not tied to a symbol set.
        location - 1 for top, 2 for bottom
        Returns:
        and ArrayList of String[] like ["00","Unspecified"],["01","Attack/Strike"]
      • getName

        public java.lang.String getName​(int version,
                                        int symbolSet,
                                        int location,
                                        java.lang.String code)
        Parameters:
        version - like SymbolID.Version_2525Dch1 or SymbolID.Version_2525Ech1 Only tracks sector mods for these 2 versions.
        symbolSet - like SymbolID.SymbolSet_Air; use 0 for Common Modifiers as they are not tied to a symbol set.
        location - 1 for top, 2 for bottom
        code - like "01" or "100"