Deregisters the given format from the registry.

@param format
name of the format (eg. "custom", "csv", etc.)
775566
public static final void removeWriter(String format) {
		String key = format.toLowerCase();
		if (JSON.equals(key)) {
			throw new IllegalArgumentException("Unable to delete the default JSON writer!");
		}
		writers.remove(key);
	}
1111278
public void delete(String columnName, String... keys) {
    Mutator<String> m = createMutator(keyspace, serializer);
    for (String key: keys) {
      m.addDeletion(key, columnFamilyName,  columnName, serializer);
    }
    m.execute();
  }
551152
public static FormatOptions of(String format) {
    if (checkNotNull(format).equals(CSV)) {
      return csv();
    } else if (format.equals(DATASTORE_BACKUP)) {
      return datastoreBackup();
    } else if (format.equals(GOOGLE_SHEETS)) {
      return googleSheets();
    } else if (format.equals(BIGTABLE)) {
      return bigtable();
    }
    return new FormatOptions(format);
  }
914763
public void setFormat(final String format) {
        if (format == null && this.format == null) {
            return;
        } else if (format == null) {
            removeChild(this.format);
            this.format = null;
        } else if (this.format == null) {
            this.format = new KeyValueNode<String>(CommonConstants.CS_FORMAT_TITLE, format);
            appendChild(this.format, false);
        } else {
            this.format.setValue(format);
        }
    }
1145947
private static void deRegisterServer(Server server, Database db) {

        Iterator it = serverMap.values().iterator();

        for (; it.hasNext(); ) {
            HashSet databases = (HashSet) it.next();

            databases.remove(db);

            if (databases.isEmpty()) {
                it.remove();
            }
        }
    }
1363380
public static String format(String format) {

        if (format == null) {
            format = DEFAULT_FORMAT;
        } else {
            if (format.contains("M")) {
                format = format.replace("M", "m");
            }

            if (format.contains("Y")) {
                format = format.replace("Y", "y");
            }

            if (format.contains("D")) {
                format = format.replace("D", "d");
            }
        }
        return format;
    }
554171
public static function setFormatDefinition(string $name, string $format): void
    {
        if (!self::$formats) {
            self::$formats = self::initFormats();
        }

        self::$formats[$name] = $format;
    }
1208709
public void setFormat(String format) {
    this.format = format;

    // Track multiple streams over the format string.
    Scanner scanner = new Scanner(format);
    this.streams[0] = scanner.stream();
    this.streams[1] = scanner.stream();
    for (int i = 2; i < this.streams.length; i++) {
      this.streams[i] = null;
    }

    // Streams for temporary matching.
    this.tag = scanner.stream();
    this.choice = scanner.stream();
  }
99939
public void deregister() {
		if(objectName == null) {
			return;
		}
		
		try {
			MBeanServer mbs = ManagementFactory.getPlatformMBeanServer();
			if (mbs.isRegistered(objectName)) {
				mbs.unregisterMBean(objectName);
			}
			objectName = null;
		} catch (Exception e) {
			throw new RuntimeException(e);
		}
	}
866663
@Deprecated
  public String format(Locale locale, Duration duration, DurationFormat format) {
    return format(duration);
  }
1174176
function (format) {
            _validFormat(format);
    
            var m = _regexDecFormat.exec(format);
            if (m !== null)
                return (  (typeof m[3] === 'string') ? m[3].length : 0 )
                     + ( (m[4] === '%')              ? 2           : 0 );
            
            else {
                m = _regexFracFormat.exec(format);
                if (m !== null)
                    return _getPrecision(1 / parseInt(m[2], 10));
            }
            
            throw "IllegalArgumentException: format is not recognized (" + format + ")";
        }
123839
private boolean containsFormatName(String format) {
        return name.equalsIgnoreCase(format) || synonyms.contains(format.toLowerCase());

    }
762182
public static <T> void deregisterProvider(final ServiceRegistry registry, final IIOServiceProvider provider, final Class<T> category) {
        // http://www.ibm.com/developerworks/java/library/j-jtp04298.html
        registry.deregisterServiceProvider(category.cast(provider), category);
    }
236677
public static String format(final Date date, String format) {

		if (date != null) {

			if (StringUtils.isBlank(format)) {

				format = DateProperty.getDefaultFormat();

			}

			return new SimpleDateFormat(format).format(date);
		}

		return null;

	}
1207148
protected void applyStyle(TextFormatting format)
	{
		if (format == TextFormatting.RESET)
		{
			FontOptions fontOptions = styles.getFirst();
			styles.clear();
			styles.add(fontOptions);
			return;
		}

		FontOptionsBuilder builder = currentStyle().toBuilder();
		builder.styles(format);
		styles.add(builder.build());
	}
488529
public static String format(final Calendar date, final String format) {
		return format(date.getTime(), format);
	}
797539
@OptionDesc(longName = "format", shortName = "f",
			description = "output format: text (default), html, asciidoc, fo, rtf",
			argumentName = "FORMAT", argumentType = ArgumentType.STRING,
			priority = 20)
	public void setFormat(String format) {
		this.format = format;
	}