OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [java/] [io/] [File.h] - Blame information for rev 766

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 758 jeremybenn
 
2
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
 
4
#ifndef __java_io_File__
5
#define __java_io_File__
6
 
7
#pragma interface
8
 
9
#include <java/lang/Object.h>
10
#include <gcj/array.h>
11
 
12
extern "Java"
13
{
14
  namespace java
15
  {
16
    namespace net
17
    {
18
        class URI;
19
        class URL;
20
    }
21
  }
22
}
23
 
24
class java::io::File : public ::java::lang::Object
25
{
26
 
27
  jlong attr(jint);
28
  jboolean _access(jint);
29
  jboolean _stat(jint);
30
  static void init_native();
31
public:
32
  virtual jboolean canRead();
33
  virtual jboolean canWrite();
34
  virtual jboolean canExecute();
35
private:
36
  jboolean performCreate();
37
public:
38
  virtual jboolean createNewFile();
39
private:
40
  jboolean performDelete();
41
public:
42
  virtual jboolean delete$();
43
  virtual jboolean equals(::java::lang::Object *);
44
private:
45
  jboolean internalExists();
46
public:
47
  virtual jboolean exists();
48
  File(::java::lang::String *);
49
private:
50
  ::java::lang::String * normalizePath(::java::lang::String *);
51
public:
52
  File(::java::lang::String *, ::java::lang::String *);
53
  File(::java::io::File *, ::java::lang::String *);
54
  File(::java::net::URI *);
55
  virtual ::java::lang::String * getAbsolutePath();
56
  virtual ::java::io::File * getAbsoluteFile();
57
  virtual ::java::lang::String * getCanonicalPath();
58
  virtual ::java::io::File * getCanonicalFile();
59
  virtual ::java::lang::String * getName();
60
  virtual ::java::lang::String * getParent();
61
  virtual ::java::io::File * getParentFile();
62
  virtual ::java::lang::String * getPath();
63
  virtual jint hashCode();
64
  virtual jboolean isAbsolute();
65
private:
66
  jboolean internalIsDirectory();
67
public:
68
  virtual jboolean isDirectory();
69
  virtual jboolean isFile();
70
  virtual jboolean isHidden();
71
  virtual jlong lastModified();
72
  virtual jlong length();
73
private:
74
  JArray< ::java::lang::Object * > * performList(::java::io::FilenameFilter *, ::java::io::FileFilter *, ::java::lang::Class *);
75
public:
76
  virtual JArray< ::java::lang::String * > * list(::java::io::FilenameFilter *);
77
  virtual JArray< ::java::lang::String * > * list();
78
  virtual JArray< ::java::io::File * > * listFiles();
79
  virtual JArray< ::java::io::File * > * listFiles(::java::io::FilenameFilter *);
80
  virtual JArray< ::java::io::File * > * listFiles(::java::io::FileFilter *);
81
  virtual ::java::lang::String * toString();
82
  virtual ::java::net::URI * toURI();
83
  virtual ::java::net::URL * toURL();
84
private:
85
  jboolean performMkdir();
86
public:
87
  virtual jboolean mkdir();
88
private:
89
  static jboolean mkdirs(::java::io::File *);
90
public:
91
  virtual jboolean mkdirs();
92
private:
93
  static ::java::lang::String * nextValue();
94
public:
95
  static ::java::io::File * createTempFile(::java::lang::String *, ::java::lang::String *, ::java::io::File *);
96
private:
97
  jboolean setFilePermissions(jboolean, jboolean, jint);
98
public:
99
  virtual jboolean setReadable(jboolean);
100
  virtual jboolean setReadable(jboolean, jboolean);
101
  virtual jboolean setWritable(jboolean);
102
  virtual jboolean setWritable(jboolean, jboolean);
103
  virtual jboolean setExecutable(jboolean);
104
  virtual jboolean setExecutable(jboolean, jboolean);
105
private:
106
  jboolean performSetReadOnly();
107
public:
108
  virtual jboolean setReadOnly();
109
private:
110
  static JArray< ::java::io::File * > * performListRoots();
111
public:
112
  static JArray< ::java::io::File * > * listRoots();
113
  static ::java::io::File * createTempFile(::java::lang::String *, ::java::lang::String *);
114
  virtual jint File$compareTo(::java::io::File *);
115
private:
116
  jboolean performRenameTo(::java::io::File *);
117
public:
118
  virtual jboolean renameTo(::java::io::File *);
119
private:
120
  jboolean performSetLastModified(jlong);
121
public:
122
  virtual jboolean setLastModified(jlong);
123
private:
124
  void checkWrite();
125
  void checkRead();
126
  void checkExec();
127
public:
128
  virtual void deleteOnExit();
129
private:
130
  void writeObject(::java::io::ObjectOutputStream *);
131
  void readObject(::java::io::ObjectInputStream *);
132
public:
133
  virtual jint compareTo(::java::lang::Object *);
134
private:
135
  static const jlong serialVersionUID = 301077366599181567LL;
136
  static const jint READ = 0;
137
  static const jint WRITE = 1;
138
  static const jint EXISTS = 2;
139
  static const jint EXEC = 3;
140
  static const jint DIRECTORY = 0;
141
  static const jint ISFILE = 1;
142
  static const jint ISHIDDEN = 2;
143
  static const jint MODIFIED = 0;
144
  static const jint LENGTH = 1;
145
public:
146
  static ::java::lang::String * separator;
147
private:
148
  static ::java::lang::String * dupSeparator;
149
public:
150
  static jchar separatorChar;
151
  static ::java::lang::String * pathSeparator;
152
  static jchar pathSeparatorChar;
153
public: // actually package-private
154
  static ::java::lang::String * tmpdir;
155
  static jint maxPathLen;
156
  static jboolean caseSensitive;
157
private:
158
  ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) path;
159
  static jlong counter;
160
public:
161
  static ::java::lang::Class class$;
162
};
163
 
164
#endif // __java_io_File__

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.