Repository URL to install this package:
|
Version:
7.7.1 ▾
|
#ifndef java_nio_file_Path_H
#define java_nio_file_Path_H
#include "java/lang/Comparable.h"
namespace java {
namespace nio {
namespace file {
class LinkOption;
class WatchEvent$Kind;
class Watchable;
class Path;
class FileSystem;
class WatchService;
class WatchEvent$Modifier;
class WatchKey;
}
}
namespace lang {
class Iterable;
class Class;
class String;
class Object;
}
namespace util {
class Iterator;
}
namespace io {
class IOException;
class File;
}
}
template<class T> class JArray;
namespace java {
namespace nio {
namespace file {
class Path : public ::java::lang::Comparable {
public:
enum {
mid_compareTo_92629c66b803a3bc,
mid_endsWith_fe195507b81318e5,
mid_endsWith_2dd796302d16c918,
mid_equals_ac708f0101821708,
mid_getFileName_c2e2d33ccb01a40b,
mid_getFileSystem_e944626dedeb463d,
mid_getName_50d1e5a3d015266e,
mid_getNameCount_9135e6328d9d7dfd,
mid_getParent_c2e2d33ccb01a40b,
mid_getRoot_c2e2d33ccb01a40b,
mid_hashCode_9135e6328d9d7dfd,
mid_isAbsolute_c20c2fcd6b89d9a9,
mid_iterator_1b087b0cc2db38d4,
mid_normalize_c2e2d33ccb01a40b,
mid_of_34fccbab8e9d5233,
mid_register_6288f243821b8412,
mid_register_79fd5c63989040eb,
mid_relativize_9f16f83ece2d01d3,
mid_resolve_9f16f83ece2d01d3,
mid_resolve_cb6002f656ed88ad,
mid_resolveSibling_9f16f83ece2d01d3,
mid_resolveSibling_cb6002f656ed88ad,
mid_startsWith_fe195507b81318e5,
mid_startsWith_2dd796302d16c918,
mid_subpath_ecc61df4d5c8c018,
mid_toAbsolutePath_c2e2d33ccb01a40b,
mid_toFile_b2d2a4eac61f4fb6,
mid_toRealPath_bead20a14f763b69,
mid_toString_a6d454b6117bc1ba,
max_mid
};
static ::java::lang::Class *class$;
static jmethodID *mids$;
static bool live$;
static jclass initializeClass(bool);
explicit Path(jobject obj) : ::java::lang::Comparable(obj) {
if (obj != NULL && mids$ == NULL)
env->getClass(initializeClass);
}
Path(const Path& obj) : ::java::lang::Comparable(obj) {}
jint compareTo(const Path &) const;
jboolean endsWith(const ::java::lang::String &) const;
jboolean endsWith(const Path &) const;
jboolean equals(const ::java::lang::Object &) const;
Path getFileName() const;
::java::nio::file::FileSystem getFileSystem() const;
Path getName(jint) const;
jint getNameCount() const;
Path getParent() const;
Path getRoot() const;
jint hashCode() const;
jboolean isAbsolute() const;
::java::util::Iterator iterator() const;
Path normalize() const;
static Path of(const ::java::lang::String &, const JArray< ::java::lang::String > &);
::java::nio::file::WatchKey register$(const ::java::nio::file::WatchService &, const JArray< ::java::nio::file::WatchEvent$Kind > &) const;
::java::nio::file::WatchKey register$(const ::java::nio::file::WatchService &, const JArray< ::java::nio::file::WatchEvent$Kind > &, const JArray< ::java::nio::file::WatchEvent$Modifier > &) const;
Path relativize(const Path &) const;
Path resolve(const Path &) const;
Path resolve(const ::java::lang::String &) const;
Path resolveSibling(const Path &) const;
Path resolveSibling(const ::java::lang::String &) const;
jboolean startsWith(const ::java::lang::String &) const;
jboolean startsWith(const Path &) const;
Path subpath(jint, jint) const;
Path toAbsolutePath() const;
::java::io::File toFile() const;
Path toRealPath(const JArray< ::java::nio::file::LinkOption > &) const;
::java::lang::String toString() const;
};
}
}
}
#include <Python.h>
namespace java {
namespace nio {
namespace file {
extern PyType_Def PY_TYPE_DEF(Path);
extern PyTypeObject *PY_TYPE(Path);
class t_Path {
public:
PyObject_HEAD
Path object;
static PyObject *wrap_Object(const Path&);
static PyObject *wrap_jobject(const jobject&);
static void install(PyObject *module);
static void initialize(PyObject *module);
};
}
}
}
#endif