code: public static ImageFileParser makeParser(ImageFile.Format type) {
  		switch(type) {
  		case ELF:
  			return new ELFParser();
  		case PE:
  			return new PEParser();
  		case MACH_O:
  			return null;
  		}
  		return null;
  	}
docs: Factory method: returns the requested image file parser.
  
  @param type
  the type of image file to parse (must be known in advance).
  @return
  an {@code ImageFileParser}.