01: package org.tigris.subversion.javahl;
02:
03: /**
04: * @copyright
05: * ====================================================================
06: * Copyright (c) 2006 CollabNet. All rights reserved.
07: *
08: * This software is licensed as described in the file COPYING, which
09: * you should have received as part of this distribution. The terms
10: * are also available at http://subversion.tigris.org/license-1.html.
11: * If newer versions of this license are posted there, you may use a
12: * newer version instead, at your option.
13: *
14: * This software consists of voluntary contributions made by many
15: * individuals. For exact contribution history, see the revision
16: * history and logs, available at http://subversion.tigris.org/.
17: * ====================================================================
18: * @endcopyright
19: */
20:
21: /**
22: * Subversion path validation and manipulation.
23: *
24: * @since 1.4.0
25: */
26: public class Path {
27: /**
28: * Load the required native library.
29: */
30: static {
31: NativeResources.loadNativeLibrary();
32: }
33:
34: /**
35: * A valid path is a UTF-8 string without any control characters.
36: *
37: * @return Whether Subversion can store the path in a repository.
38: */
39: public static native boolean isValid(String path);
40: }
|