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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [javax/] [activation/] [MailcapCommandMap.h] - Blame information for rev 764

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

Line No. Rev Author Line
1 759 jeremybenn
 
2
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
 
4
#ifndef __javax_activation_MailcapCommandMap__
5
#define __javax_activation_MailcapCommandMap__
6
 
7
#pragma interface
8
 
9
#include <javax/activation/CommandMap.h>
10
#include <gcj/array.h>
11
 
12
extern "Java"
13
{
14
  namespace javax
15
  {
16
    namespace activation
17
    {
18
        class CommandInfo;
19
        class DataContentHandler;
20
        class MailcapCommandMap;
21
    }
22
  }
23
}
24
 
25
class javax::activation::MailcapCommandMap : public ::javax::activation::CommandMap
26
{
27
 
28
public:
29
  MailcapCommandMap();
30
  MailcapCommandMap(::java::lang::String *);
31
  MailcapCommandMap(::java::io::InputStream *);
32
private:
33
  void init(::java::io::Reader *);
34
public:
35
  virtual JArray< ::javax::activation::CommandInfo * > * getPreferredCommands(::java::lang::String *);
36
  virtual JArray< ::javax::activation::CommandInfo * > * getAllCommands(::java::lang::String *);
37
  virtual ::javax::activation::CommandInfo * getCommand(::java::lang::String *, ::java::lang::String *);
38
  virtual void addMailcap(::java::lang::String *);
39
  virtual ::javax::activation::DataContentHandler * createDataContentHandler(::java::lang::String *);
40
  virtual JArray< ::java::lang::String * > * getNativeCommands(::java::lang::String *);
41
private:
42
  void addNativeCommands(::java::util::List *, ::java::util::Map *, ::java::lang::String *);
43
  static ::java::lang::String * nameOf(jint);
44
  void parseFile(jint, ::java::lang::String *);
45
  void parseResource(jint, ::java::lang::String *);
46
  void parse(jint, ::java::io::Reader *);
47
  void parseEntry(jint, ::java::lang::String *);
48
  void addField(::java::util::Map *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
49
  ::java::util::Map * getCommands(::java::util::Map *, ::java::lang::String *);
50
  ::java::util::List * getSystemResources(::java::lang::String *);
51
  static const jint PROG = 0;
52
  static const jint HOME = 1;
53
  static const jint SYS = 2;
54
  static const jint JAR = 3;
55
  static const jint DEF = 4;
56
  static jboolean debug;
57
  static const jint NORMAL = 0;
58
  static const jint FALLBACK = 1;
59
  JArray< JArray< ::java::util::Map * > * > * __attribute__((aligned(__alignof__( ::javax::activation::CommandMap)))) mailcaps;
60
public:
61
  static ::java::lang::Class class$;
62
};
63
 
64
#endif // __javax_activation_MailcapCommandMap__

powered by: WebSVN 2.1.0

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