Java UUID Create isUUID(String string)

Here you can find the source of isUUID(String string)

Description

is UUID

License

Open Source License

Declaration

public static boolean isUUID(String string) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.util.*;

public class Main {
    public static boolean isUUID(String string) {
        try {// w ww. j a v a2 s . c o  m
            UUID.fromString(string);
            return true;
        } catch (Exception ex) {
            return false;
        }
    }
}

Related

  1. getUUID()
  2. getUUID()
  3. getUUID(String id)
  4. getUUIDForSql(UUID uuid)
  5. getUUIDValue(String url, String key)
  6. parseUuid(String s)
  7. sizeOfUUID(UUID uuid)
  8. uuid()
  9. uuid()