home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 25 / CDROM25.iso / Share / prog / VJ11 / VJTRIAL.EXE / IE30Java.exe / classd.exe / java / lang / SecurityManager.class (.txt) < prev    next >
Encoding:
Java Class File  |  1997-01-27  |  2.4 KB  |  142 lines

  1. package java.lang;
  2.  
  3. import java.io.FileDescriptor;
  4.  
  5. public abstract class SecurityManager {
  6.    protected boolean inCheck;
  7.  
  8.    public void checkDelete(String var1) {
  9.       throw new SecurityException();
  10.    }
  11.  
  12.    public void checkExec(String var1) {
  13.       throw new SecurityException();
  14.    }
  15.  
  16.    public synchronized void checkRegistry() {
  17.       throw new SecurityException();
  18.    }
  19.  
  20.    public void checkAccept(String var1, int var2) {
  21.       throw new SecurityException();
  22.    }
  23.  
  24.    public void checkMemberAccess(Class var1, int var2) {
  25.       throw new SecurityException();
  26.    }
  27.  
  28.    public void checkSetFactory() {
  29.       throw new SecurityException();
  30.    }
  31.  
  32.    protected native Class[] getClassContext();
  33.  
  34.    public void checkPackageDefinition(String var1) {
  35.       throw new SecurityException();
  36.    }
  37.  
  38.    public void checkLink(String var1) {
  39.       throw new SecurityException();
  40.    }
  41.  
  42.    protected boolean inClassLoader() {
  43.       return this.currentClassLoader() != null;
  44.    }
  45.  
  46.    public void checkCreateClassLoader() {
  47.       throw new SecurityException();
  48.    }
  49.  
  50.    public void checkAccess(Thread var1) {
  51.       throw new SecurityException();
  52.    }
  53.  
  54.    public void checkAccess(ThreadGroup var1) {
  55.       throw new SecurityException();
  56.    }
  57.  
  58.    public void checkPropertiesAccess() {
  59.       throw new SecurityException();
  60.    }
  61.  
  62.    public void checkWrite(FileDescriptor var1) {
  63.       throw new SecurityException();
  64.    }
  65.  
  66.    public void checkWrite(String var1) {
  67.       throw new SecurityException();
  68.    }
  69.  
  70.    protected native int classLoaderDepth();
  71.  
  72.    public void checkListen(int var1) {
  73.       throw new SecurityException();
  74.    }
  75.  
  76.    protected native ClassLoader currentClassLoader();
  77.  
  78.    protected native int classDepth(String var1);
  79.  
  80.    public void checkExit(int var1) {
  81.       throw new SecurityException();
  82.    }
  83.  
  84.    public void checkConnect(String var1, int var2) {
  85.       throw new SecurityException();
  86.    }
  87.  
  88.    public void checkConnect(String var1, int var2, Object var3) {
  89.       throw new SecurityException();
  90.    }
  91.  
  92.    public void checkPackageAccess(String var1) {
  93.       throw new SecurityException();
  94.    }
  95.  
  96.    public synchronized void checkFileDialog() {
  97.       throw new SecurityException();
  98.    }
  99.  
  100.    public boolean getInCheck() {
  101.       return this.inCheck;
  102.    }
  103.  
  104.    protected SecurityManager() {
  105.       if (System.getSecurityManager() != null) {
  106.          throw new SecurityException("can't create SecurityManager");
  107.       }
  108.    }
  109.  
  110.    protected boolean inClass(String var1) {
  111.       return this.classDepth(var1) >= 0;
  112.    }
  113.  
  114.    public Object getSecurityContext() {
  115.       return null;
  116.    }
  117.  
  118.    public void checkPropertyAccess(String var1) {
  119.       throw new SecurityException();
  120.    }
  121.  
  122.    public void checkPropertyAccess(String var1, String var2) {
  123.       throw new SecurityException();
  124.    }
  125.  
  126.    public boolean checkTopLevelWindow(Object var1) {
  127.       return false;
  128.    }
  129.  
  130.    public void checkRead(FileDescriptor var1) {
  131.       throw new SecurityException();
  132.    }
  133.  
  134.    public void checkRead(String var1) {
  135.       throw new SecurityException();
  136.    }
  137.  
  138.    public void checkRead(String var1, Object var2) {
  139.       throw new SecurityException();
  140.    }
  141. }
  142.