Java Path File Check nio isOva(final Path filePath)

Here you can find the source of isOva(final Path filePath)

Description

is Ova

License

Apache License

Declaration

public static boolean isOva(final Path filePath) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

import java.nio.file.FileSystems;
import java.nio.file.Path;
import java.nio.file.PathMatcher;

public class Main {
    private static final PathMatcher ovaMatcher = FileSystems.getDefault().getPathMatcher("glob:**.ova");

    public static boolean isOva(final Path filePath) {
        return ovaMatcher.matches(filePath);
    }//  w w  w  .j ava2s  .co  m
}

Related

  1. isHidden(Path path)
  2. isHidden(Path value)
  3. isJniNativeFunction(Path path)
  4. isJSON(final Path file)
  5. isJsonFile(Path filePath)
  6. isParent(Path parent, Path child)
  7. isParent(Path parent, Path path)
  8. isParentOf(Path possibleParent, Path possibleChild)
  9. isPath(Class clazz)