Added more ignorable files to .gitignore
[ovsdb.git] / ovsdb / src / main / java / org / opendaylight / ovsdb / lib / notation / json / UUIDStringConverter.java
1 /*
2  * Copyright (C) 2013 Red Hat, Inc.
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  * Authors : Madhu Venugopal, Ashwin Raveendran
9  */
10 package org.opendaylight.ovsdb.lib.notation.json;
11
12 import com.fasterxml.jackson.databind.util.StdConverter;
13
14 import org.opendaylight.ovsdb.lib.notation.UUID;
15
16 public class UUIDStringConverter extends StdConverter<String, UUID> {
17
18     @Override
19     public UUID convert(String value) {
20         return new UUID(value);
21     }
22
23 }