BUG 2839: Config: remove dependencies on commons-io
[controller.git] / opendaylight / config / yang-test-plugin / src / main / java / org / opendaylight / controller / config / yang / test / plugin / Util.java
1 /*
2  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8
9 package org.opendaylight.controller.config.yang.test.plugin;
10
11 import java.io.File;
12 import java.util.regex.Matcher;
13
14 public class Util {
15
16     public static String replaceDots(String path) {
17         path = path.replace(".", Matcher.quoteReplacement(File.separator));
18         return path;
19     }
20 }