X-Git-Url: http://source.jalview.org/gitweb/?p=jalviewjs.git;a=blobdiff_plain;f=site%2Fj2s%2Fcore%2Fcore.z.js;h=aa7cd4da68c1724b286af21e89257b46821d5dcd;hp=1e7faad6421976c22565109f3532520514a842e4;hb=7301a2415adab88038b291fc54caeeb3a5a47a44;hpb=6154cb57a6eac3bb1344b8342495f5bb701ee921 diff --git a/site/j2s/core/core.z.js b/site/j2s/core/core.z.js index 1e7faad..aa7cd4d 100644 --- a/site/j2s/core/core.z.js +++ b/site/j2s/core/core.z.js @@ -1,4 +1,4 @@ -(function(E,L,M,N,O,P,Q,q,R,p,r,S,T,f,U,V,W,z,X,d,F,m,Y,t,Z,$,aa,ba,ca,da,G,C,ea,B,x,fa,ga,A,ha,y,ia,ja,H,I,ka,la,ma,na,oa,pa,qa,ra,sa,J,D,K,ta,c,e){(function(k){k._Loader.registerPackages("java",["io","lang","lang.reflect","util"]);var j=java.util;k._Loader.ignore("net.sf.j2s.ajax.HttpRequest java.util.MapEntry.Type java.lang.Runtime java.security.AccessController java.security.PrivilegedExceptionAction java.io.File java.io.FileInputStream java.io.FileWriter java.io.OutputStreamWriter java.util.concurrent.Executors".split(" ")); +(function(C,M,N,O,P,Q,F,q,R,p,r,S,T,f,U,V,W,z,X,d,G,m,Y,t,Z,$,aa,ba,ca,da,H,D,ea,B,x,fa,ga,A,ha,y,ia,ja,I,J,ka,la,ma,na,oa,pa,qa,ra,sa,K,E,L,ta,c,e){(function(k){k._Loader.registerPackages("java",["io","lang","lang.reflect","util"]);var j=java.util;k._Loader.ignore("net.sf.j2s.ajax.HttpRequest java.util.MapEntry.Type java.lang.Runtime java.security.AccessController java.security.PrivilegedExceptionAction java.io.File java.io.FileInputStream java.io.FileWriter java.io.OutputStreamWriter java.util.concurrent.Executors".split(" ")); Math.rint=Math.round;Math.log10||(Math.log10=function(a){return Math.log(a)/2.302585092994046});if(k._supportsNativeObject)for(var v=0;vthis&&0this&&0=a},"~N");c$.isUpperCase=c(c$,"isUpperCase",function(a){a=a.charCodeAt(0);return 65<=a&&90>=a},"~N");c$.isLowerCase=c(c$,"isLowerCase",function(a){a=a.charCodeAt(0);return 97<=a&&122>=a},"~N");c$.isWhitespace=c(c$,"isWhitespace",function(a){a=a.charCodeAt(0);return 28<=a&&32>=a||9<=a&&13>=a||5760==a||8192<= a&&8199!=a&&(8203>=a||8232==a||8233==a||12288==a)},"~N");c$.isLetter=c(c$,"isLetter",function(a){a=a.charCodeAt(0);return 65<=a&&90>=a||97<=a&&122>=a},"~N");c$.isLetterOrDigit=c(c$,"isLetterOrDigit",function(a){a=a.charCodeAt(0);return 65<=a&&90>=a||97<=a&&122>=a||48<=a&&57>=a},"~N");c$.isSpaceChar=c(c$,"isSpaceChar",function(a){a=a.charCodeAt(0);return 32==a||160==a||5760==a?!0:8192>a?!1:8203>=a||8232==a||8233==a||8239==a||12288==a},"~N");c$.digit=c(c$,"digit",function(a,b){var c=a.charCodeAt(0); if(2<=b&&36>=b&&128>c){var d=-1;48<=c&&57>=c?d=c-48:97<=c&&122>=c?d=c-87:65<=c&&90>=c&&(d=c-55);return da.getTime()},"javautil.Date");c(j.Date,"equals",function(a){return q(a,j.Date)&&this.getTime()==a.getTime()},"Object");c(j.Date,"compareTo",function(a){var b=this.getTime();a=a.getTime();return b>32)});c$=r(function(){this.source=null;p(this,arguments)},j,"EventObject",null,java.io.Serializable);f(c$,function(a){if(null!=a)this.source=a;else throw new IllegalArgumentException;},"~O");c(c$,"getSource",function(){return this.source});e(c$,"toString",function(){return this.getClass().getName()+"[source="+String.valueOf(this.source)+"]"});t(j,"EventListener");c$=r(function(){this.listener=null;p(this,arguments)},j,"EventListenerProxy",null,j.EventListener);f(c$,function(a){this.listener= -a},"javautil.EventListener");c(c$,"getListener",function(){return this.listener});t(j,"Iterator");t(j,"ListIterator",j.Iterator);t(j,"Enumeration");t(j,"Collection",Iterable);t(j,"Set",j.Collection);t(j,"Map");t(j.Map,"Entry");t(j,"List",j.Collection);t(j,"Queue",j.Collection);t(j,"RandomAccess");c$=r(function(){this.stackTrace=this.cause=this.detailMessage=null;p(this,arguments)},java.lang,"Throwable",null,java.io.Serializable);F(c$,function(){this.cause=this});f(c$,function(){this.fillInStackTrace()}); +a},"javautil.EventListener");c(c$,"getListener",function(){return this.listener});t(j,"Iterator");t(j,"ListIterator",j.Iterator);t(j,"Enumeration");t(j,"Collection",Iterable);t(j,"Set",j.Collection);t(j,"Map");t(j.Map,"Entry");t(j,"List",j.Collection);t(j,"Queue",j.Collection);t(j,"RandomAccess");c$=r(function(){this.stackTrace=this.cause=this.detailMessage=null;p(this,arguments)},java.lang,"Throwable",null,java.io.Serializable);G(c$,function(){this.cause=this});f(c$,function(){this.fillInStackTrace()}); f(c$,function(a){this.fillInStackTrace();this.detailMessage=a},"~S");f(c$,function(a,b){this.fillInStackTrace();this.detailMessage=a;this.cause=b},"~S,Throwable");f(c$,function(a){this.fillInStackTrace();this.detailMessage=null==a?null:a.toString();this.cause=a},"Throwable");c(c$,"getMessage",function(){return this.message||this.detailMessage||this.toString()});c(c$,"getLocalizedMessage",function(){return this.getMessage()});c(c$,"getCause",function(){return this.cause===this?null:this.cause});c(c$, -"initCause",function(a){if(this.cause!==this)throw new IllegalStateException("Can't overwrite cause");if(a===this)throw new IllegalArgumentException("Self-causation not permitted");this.cause=a;return this},"Throwable");e(c$,"toString",function(){var a=this.getClass().getName(),b=this.message||this.detailMessage;return b?a+": "+b:a});c(c$,"printStackTrace",function(){System.err.println(this.getStackTrace?this.getStackTrace():this.message+" "+D())});c(c$,"getStackTrace",function(){for(var a=""+this+ -"\n",b=0;bH(c.nativeClazz,Throwable))a+=c+"\n"}return a});c(c$,"printStackTrace",function(){this.printStackTrace()},"java.io.PrintStream");c(c$,"printStackTrace",function(){this.printStackTrace()},"java.io.PrintWriter");c(c$,"fillInStackTrace",function(){this.stackTrace=[];for(var a=arguments.callee.caller,b=null,c=[],d=k._callingStackTraces.length- -1,e=!0;-1d)break;e=!0;b=k._callingStackTraces[d].caller;f=k._callingStackTraces[d].owner;d--}else b=a,null!=b.claxxOwner?f=b.claxxOwner:null!=b.exClazz&&(f=b.exClazz);a=new StackTraceElement(null!=f&&0!=f.__CLASS_NAME__.length?f.__CLASS_NAME__:"anonymous",(null==b.exName?"anonymous":b.exName)+" ("+I(b.arguments)+")",null,-1);a.nativeClazz=f;this.stackTrace[this.stackTrace.length]=a;for(f=0;fI(c.nativeClazz,Throwable))a+=c+"\n"}return a});c(c$,"printStackTrace",function(){this.printStackTrace()},"java.io.PrintStream");c(c$,"printStackTrace",function(){this.printStackTrace()},"java.io.PrintWriter");c(c$,"fillInStackTrace",function(){this.stackTrace=[];for(var a=arguments.callee.caller,b=null,c=[],d=k._callingStackTraces.length- +1,e=!0;-1d)break;e=!0;b=k._callingStackTraces[d].caller;f=k._callingStackTraces[d].owner;d--}else b=a,null!=b.claxxOwner?f=b.claxxOwner:null!=b.exClazz&&(f=b.exClazz);a=new StackTraceElement(null!=f&&0!=f.__CLASS_NAME__.length?f.__CLASS_NAME__:"anonymous",(null==b.exName?"anonymous":b.exName)+" ("+J(b.arguments)+")",null,-1);a.nativeClazz=f;this.stackTrace[this.stackTrace.length]=a;for(f=0;f":this.declaringClass});c(c$,"getFileName",function(){return this.fileName});c(c$,"getLineNumber",function(){return this.lineNumber});c(c$,"getMethodName",function(){return null==this.methodName?"":this.methodName});e(c$,"hashCode",function(){return null==this.methodName?0:this.methodName.hashCode()^this.declaringClass.hashCode()});c(c$,"isNativeMethod",function(){return-2== this.lineNumber});e(c$,"toString",function(){var a=new StringBuilder(80);a.append(this.getClassName());a.append(".");a.append(this.getMethodName());if(this.isNativeMethod())a.append("(Native Method)");else{var b=this.getFileName();if(null==b)a.append("(Unknown Source)");else{var c=this.getLineNumber();a.append("(");a.append(b);0<=c&&(a.append(":"),a.append(c));a.append(")")}}return a.toString()});TypeError.prototype.getMessage||(TypeError.prototype.getMessage=function(){return(this.message||this.toString())+ -(this.getStackTrace?this.getStackTrace():D())});c$=d(java.lang,"Error",Throwable);c$=d(java.lang,"LinkageError",Error);c$=d(java.lang,"IncompatibleClassChangeError",LinkageError);c$=d(java.lang,"AbstractMethodError",IncompatibleClassChangeError);c$=d(java.lang,"AssertionError",Error);f(c$,function(a){m(this,AssertionError,[String.valueOf(a),q(a,Throwable)?a:null])},"~O");f(c$,function(a){this.construct(""+a)},"~B");f(c$,function(a){this.construct(""+a)},"~N");c$=d(java.lang,"ClassCircularityError", +(this.getStackTrace?this.getStackTrace():E())});c$=d(java.lang,"Error",Throwable);c$=d(java.lang,"LinkageError",Error);c$=d(java.lang,"IncompatibleClassChangeError",LinkageError);c$=d(java.lang,"AbstractMethodError",IncompatibleClassChangeError);c$=d(java.lang,"AssertionError",Error);f(c$,function(a){m(this,AssertionError,[String.valueOf(a),q(a,Throwable)?a:null])},"~O");f(c$,function(a){this.construct(""+a)},"~B");f(c$,function(a){this.construct(""+a)},"~N");c$=d(java.lang,"ClassCircularityError", LinkageError);c$=d(java.lang,"ClassFormatError",LinkageError);c$=r(function(){this.exception=null;p(this,arguments)},java.lang,"ExceptionInInitializerError",LinkageError);f(c$,function(){m(this,ExceptionInInitializerError);this.initCause(null)});f(c$,function(a){m(this,ExceptionInInitializerError,[a]);this.initCause(null)},"~S");f(c$,function(a){m(this,ExceptionInInitializerError);this.exception=a;this.initCause(a)},"Throwable");c(c$,"getException",function(){return this.exception});e(c$,"getCause", function(){return this.exception});c$=d(java.lang,"IllegalAccessError",IncompatibleClassChangeError);c$=d(java.lang,"InstantiationError",IncompatibleClassChangeError);c$=d(java.lang,"VirtualMachineError",Error);c$=d(java.lang,"InternalError",VirtualMachineError);c$=d(java.lang,"NoClassDefFoundError",LinkageError);c$=d(java.lang,"NoSuchFieldError",IncompatibleClassChangeError);c$=d(java.lang,"NoSuchMethodError",IncompatibleClassChangeError);c$=d(java.lang,"OutOfMemoryError",VirtualMachineError);c$= d(java.lang,"StackOverflowError",VirtualMachineError);c$=d(java.lang,"UnknownError",VirtualMachineError);c$=d(java.lang,"UnsatisfiedLinkError",LinkageError);c$=d(java.lang,"UnsupportedClassVersionError",ClassFormatError);c$=d(java.lang,"VerifyError",LinkageError);c$=d(java.lang,"ThreadDeath",Error);f(c$,function(){m(this,ThreadDeath,[])});c$=d(java.lang,"Exception",Throwable);c$=d(java.lang,"RuntimeException",Exception);c$=d(java.lang,"ArithmeticException",RuntimeException);c$=d(java.lang,"IndexOutOfBoundsException", -RuntimeException);c$=d(java.lang,"ArrayIndexOutOfBoundsException",IndexOutOfBoundsException);f(c$,function(a){m(this,ArrayIndexOutOfBoundsException,["Array index out of range: "+a])},"~N");c$=d(java.lang,"ArrayStoreException",RuntimeException);c$=d(java.lang,"ClassCastException",RuntimeException);c$=r(function(){this.ex=null;p(this,arguments)},java.lang,"ClassNotFoundException",Exception);f(c$,function(){m(this,ClassNotFoundException,[C("Throwable")])});f(c$,function(a){m(this,ClassNotFoundException, +RuntimeException);c$=d(java.lang,"ArrayIndexOutOfBoundsException",IndexOutOfBoundsException);f(c$,function(a){m(this,ArrayIndexOutOfBoundsException,["Array index out of range: "+a])},"~N");c$=d(java.lang,"ArrayStoreException",RuntimeException);c$=d(java.lang,"ClassCastException",RuntimeException);c$=r(function(){this.ex=null;p(this,arguments)},java.lang,"ClassNotFoundException",Exception);f(c$,function(){m(this,ClassNotFoundException,[D("Throwable")])});f(c$,function(a){m(this,ClassNotFoundException, [a,null])},"~S");f(c$,function(a,b){m(this,ClassNotFoundException,[a]);this.ex=b},"~S,Throwable");c(c$,"getException",function(){return this.ex});e(c$,"getCause",function(){return this.ex});c$=d(java.lang,"CloneNotSupportedException",Exception);c$=d(java.lang,"IllegalAccessException",Exception);c$=d(java.lang,"IllegalArgumentException",RuntimeException);f(c$,function(a){m(this,IllegalArgumentException,[null==a?null:a.toString(),a])},"Throwable");c$=d(java.lang,"IllegalMonitorStateException",RuntimeException); c$=d(java.lang,"IllegalStateException",RuntimeException);f(c$,function(a){m(this,IllegalStateException,[null==a?null:a.toString(),a])},"Throwable");c$=d(java.lang,"IllegalThreadStateException",IllegalArgumentException);c$=d(java.lang,"InstantiationException",Exception);c$=d(java.lang,"InterruptedException",Exception);c$=d(java.lang,"NegativeArraySizeException",RuntimeException);c$=d(java.lang,"NoSuchFieldException",Exception);c$=d(java.lang,"NoSuchMethodException",Exception);c$=d(java.lang,"NullPointerException", RuntimeException);c$=d(java.lang,"NumberFormatException",IllegalArgumentException);c$=d(java.lang,"SecurityException",RuntimeException);f(c$,function(a){m(this,SecurityException,[null==a?null:a.toString(),a])},"Throwable");c$=d(java.lang,"StringIndexOutOfBoundsException",IndexOutOfBoundsException);f(c$,function(a){m(this,StringIndexOutOfBoundsException,["String index out of range: "+a])},"~N");c$=d(java.lang,"UnsupportedOperationException",RuntimeException);f(c$,function(){m(this,UnsupportedOperationException, -[])});f(c$,function(a){m(this,UnsupportedOperationException,[null==a?null:a.toString(),a])},"Throwable");c$=r(function(){this.target=null;p(this,arguments)},java.lang.reflect,"InvocationTargetException",Exception);f(c$,function(){m(this,java.lang.reflect.InvocationTargetException,[C("Throwable")])});f(c$,function(a){m(this,java.lang.reflect.InvocationTargetException,[null,a]);this.target=a},"Throwable");f(c$,function(a,b){m(this,java.lang.reflect.InvocationTargetException,[b,a]);this.target=a},"Throwable,~S"); +[])});f(c$,function(a){m(this,UnsupportedOperationException,[null==a?null:a.toString(),a])},"Throwable");c$=r(function(){this.target=null;p(this,arguments)},java.lang.reflect,"InvocationTargetException",Exception);f(c$,function(){m(this,java.lang.reflect.InvocationTargetException,[D("Throwable")])});f(c$,function(a){m(this,java.lang.reflect.InvocationTargetException,[null,a]);this.target=a},"Throwable");f(c$,function(a,b){m(this,java.lang.reflect.InvocationTargetException,[b,a]);this.target=a},"Throwable,~S"); c(c$,"getTargetException",function(){return this.target});e(c$,"getCause",function(){return this.target});c$=r(function(){this.undeclaredThrowable=null;p(this,arguments)},java.lang.reflect,"UndeclaredThrowableException",RuntimeException);f(c$,function(a){m(this,java.lang.reflect.UndeclaredThrowableException);this.undeclaredThrowable=a;this.initCause(a)},"Throwable");f(c$,function(a,b){m(this,java.lang.reflect.UndeclaredThrowableException,[b]);this.undeclaredThrowable=a;this.initCause(a)},"Throwable,~S"); c(c$,"getUndeclaredThrowable",function(){return this.undeclaredThrowable});e(c$,"getCause",function(){return this.undeclaredThrowable});c$=d(java.io,"IOException",Exception);c$=d(java.io,"CharConversionException",java.io.IOException);c$=d(java.io,"EOFException",java.io.IOException);c$=d(java.io,"FileNotFoundException",java.io.IOException);c$=r(function(){this.bytesTransferred=0;p(this,arguments)},java.io,"InterruptedIOException",java.io.IOException);c$=d(java.io,"ObjectStreamException",java.io.IOException); c$=r(function(){this.classname=null;p(this,arguments)},java.io,"InvalidClassException",java.io.ObjectStreamException);f(c$,function(a,b){m(this,java.io.InvalidClassException,[b]);this.classname=a},"~S,~S");c(c$,"getMessage",function(){var a=B(this,java.io.InvalidClassException,"getMessage",[]);null!=this.classname&&(a=this.classname+"; "+a);return a});c$=d(java.io,"InvalidObjectException",java.io.ObjectStreamException);c$=d(java.io,"NotActiveException",java.io.ObjectStreamException);c$=d(java.io, @@ -81,11 +81,11 @@ java.lang.reflect.Modifier.isPrivate(a)&&(b[b.length]="private");java.lang.refle (b[b.length]="native");java.lang.reflect.Modifier.isStrict(a)&&(b[b.length]="strictfp");java.lang.reflect.Modifier.isInterface(a)&&(b[b.length]="interface");return 0