summaryrefslogtreecommitdiff
path: root/libjava/gnu/java/net/protocol/file/Connection.h
blob: 160f80834eabc292b8c49aef8c5268f6c8581dd9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_java_net_protocol_file_Connection__
#define __gnu_java_net_protocol_file_Connection__

#pragma interface

#include <java/net/URLConnection.h>
#include <gcj/array.h>

extern "Java"
{
  namespace gnu
  {
    namespace java
    {
      namespace net
      {
        namespace protocol
        {
          namespace file
          {
              class Connection;
          }
        }
      }
    }
  }
  namespace java
  {
    namespace net
    {
        class URL;
    }
    namespace security
    {
        class Permission;
    }
  }
}

class gnu::java::net::protocol::file::Connection : public ::java::net::URLConnection
{

public:
  Connection(::java::net::URL *);
  static ::java::lang::String * unquote(::java::lang::String *);
  virtual void connect();
public: // actually package-private
  virtual JArray< jbyte > * getDirectoryListing();
public:
  virtual ::java::io::InputStream * getInputStream();
  virtual ::java::io::OutputStream * getOutputStream();
  virtual jlong getLastModified();
  virtual ::java::lang::String * getHeaderField(::java::lang::String *);
  virtual jint getContentLength();
  virtual ::java::security::Permission * getPermission();
private:
  static ::java::lang::String * DEFAULT_PERMISSION;
  ::java::io::File * __attribute__((aligned(__alignof__( ::java::net::URLConnection)))) file;
  JArray< jbyte > * directoryListing;
  ::java::io::InputStream * inputStream;
  ::java::io::OutputStream * outputStream;
  ::java::io::FilePermission * permission;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_java_net_protocol_file_Connection__