/* * Copyright (c) 2016 Cisco Systems, Inc. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ package org.opendaylight.restconf.utils; import com.google.common.base.Splitter; import java.text.SimpleDateFormat; /** * Util class for Restconf constants. * */ public final class RestconfConstants { public static final String XML = "+xml"; public static final String JSON = "+json"; public static final String MOUNT = "yang-ext:mount"; public static final String IDENTIFIER = "identifier"; public static final SimpleDateFormat REVISION_FORMAT = new SimpleDateFormat("yyyy-MM-dd"); public static final char SLASH = '/'; public static final Splitter SLASH_SPLITTER = Splitter.on(SLASH); private RestconfConstants() { throw new UnsupportedOperationException("Util class"); } }