com.ovea.tajin.io.Resource Maven / Gradle / Ivy
The newest version!
package com.ovea.tajin.io;
import java.lang.*;
import java.io.*;
import java.net.*;
import java.util.*;
import groovy.lang.*;
import groovy.util.*;
public abstract class Resource
extends java.lang.Object implements
groovy.lang.GroovyObject {
public groovy.lang.MetaClass getMetaClass() { return (groovy.lang.MetaClass)null;}
public void setMetaClass(groovy.lang.MetaClass mc) { }
public java.lang.Object invokeMethod(java.lang.String method, java.lang.Object arguments) { return null;}
public java.lang.Object getProperty(java.lang.String property) { return null;}
public void setProperty(java.lang.String property, java.lang.Object value) { }
public abstract java.net.URL getAsUrl();
public abstract java.io.File getAsFile();
public abstract java.util.List alikes();
public abstract java.io.InputStream getInput();
public abstract java.io.OutputStream getOutput();
public abstract java.lang.String getText();
public abstract java.lang.String getText(java.lang.String charset);
public abstract byte[] getBytes();
public abstract boolean isFile();
public abstract boolean isUrl();
public abstract boolean isExist();
@java.lang.Override() public abstract java.lang.String toString();
@java.lang.Override() public abstract boolean equals(java.lang.Object obj);
@java.lang.Override() public abstract int hashCode();
public T withOutput(groovy.lang.Closure closure) { return null;}
public T withInput(groovy.lang.Closure closure) { return null;}
public void copyTo(java.io.File dest) { }
public static com.ovea.tajin.io.Resource resource(java.lang.String pattern) { return (com.ovea.tajin.io.Resource)null;}
public static com.ovea.tajin.io.Resource resource(java.io.File webapp, java.lang.String pattern) { return (com.ovea.tajin.io.Resource)null;}
public static com.ovea.tajin.io.Resource classpath(java.lang.ClassLoader classloader, java.lang.String pattern) { return (com.ovea.tajin.io.Resource)null;}
public static com.ovea.tajin.io.Resource file(java.io.File file) { return (com.ovea.tajin.io.Resource)null;}
public static com.ovea.tajin.io.Resource file(java.lang.String path) { return (com.ovea.tajin.io.Resource)null;}
public static com.ovea.tajin.io.Resource url(java.net.URL url) { return (com.ovea.tajin.io.Resource)null;}
public static com.ovea.tajin.io.Resource string(java.lang.String data) { return (com.ovea.tajin.io.Resource)null;}
public static com.ovea.tajin.io.Resource chars(char... data) { return (com.ovea.tajin.io.Resource)null;}
public static com.ovea.tajin.io.Resource bytes(byte... data) { return (com.ovea.tajin.io.Resource)null;}
private static abstract class ReadOnlyResource
extends com.ovea.tajin.io.Resource {
public groovy.lang.MetaClass getMetaClass() { return (groovy.lang.MetaClass)null;}
public void setMetaClass(groovy.lang.MetaClass mc) { }
public java.lang.Object invokeMethod(java.lang.String method, java.lang.Object arguments) { return null;}
public java.lang.Object getProperty(java.lang.String property) { return null;}
public void setProperty(java.lang.String property, java.lang.Object value) { }
@java.lang.Override() public boolean isExist() { return false;}
@java.lang.Override() public final boolean isFile() { return false;}
@java.lang.Override() public final boolean isUrl() { return false;}
@java.lang.Override() public final java.io.File getAsFile() { return (java.io.File)null;}
@java.lang.Override() public final java.net.URL getAsUrl() { return (java.net.URL)null;}
@java.lang.Override() public final java.io.OutputStream getOutput() { return (java.io.OutputStream)null;}
@java.lang.Override() public java.util.List alikes() { return (java.util.List)null;}
@java.lang.Override() public java.lang.String toString() { return (java.lang.String)null;}
@java.lang.Override() public java.lang.String getText() { return (java.lang.String)null;}
@java.lang.Override() public java.io.InputStream getInput() { return (java.io.InputStream)null;}
}
private static class ByteResource
extends com.ovea.tajin.io.Resource.ReadOnlyResource {
public ByteResource
(byte... data) {}
public groovy.lang.MetaClass getMetaClass() { return (groovy.lang.MetaClass)null;}
public void setMetaClass(groovy.lang.MetaClass mc) { }
public java.lang.Object invokeMethod(java.lang.String method, java.lang.Object arguments) { return null;}
public java.lang.Object getProperty(java.lang.String property) { return null;}
public void setProperty(java.lang.String property, java.lang.Object value) { }
@java.lang.Override() public java.lang.String getText(java.lang.String charset) { return (java.lang.String)null;}
@java.lang.Override() public byte[] getBytes() { return (byte[])null;}
@java.lang.Override() public boolean equals(java.lang.Object o) { return false;}
@java.lang.Override() public int hashCode() { return (int)0;}
}
private static class CharResource
extends com.ovea.tajin.io.Resource.ReadOnlyResource {
public CharResource
(char... data) {}
public groovy.lang.MetaClass getMetaClass() { return (groovy.lang.MetaClass)null;}
public void setMetaClass(groovy.lang.MetaClass mc) { }
public java.lang.Object invokeMethod(java.lang.String method, java.lang.Object arguments) { return null;}
public java.lang.Object getProperty(java.lang.String property) { return null;}
public void setProperty(java.lang.String property, java.lang.Object value) { }
@java.lang.Override() public java.lang.String getText(java.lang.String charset) { return (java.lang.String)null;}
@java.lang.Override() public byte[] getBytes() { return (byte[])null;}
@java.lang.Override() public boolean equals(java.lang.Object o) { return false;}
@java.lang.Override() public int hashCode() { return (int)0;}
}
private static class StringResource
extends com.ovea.tajin.io.Resource.ReadOnlyResource {
public StringResource
(java.lang.String data) {}
public groovy.lang.MetaClass getMetaClass() { return (groovy.lang.MetaClass)null;}
public void setMetaClass(groovy.lang.MetaClass mc) { }
public java.lang.Object invokeMethod(java.lang.String method, java.lang.Object arguments) { return null;}
public java.lang.Object getProperty(java.lang.String property) { return null;}
public void setProperty(java.lang.String property, java.lang.Object value) { }
@java.lang.Override() public java.lang.String getText(java.lang.String charset) { return (java.lang.String)null;}
@java.lang.Override() public byte[] getBytes() { return (byte[])null;}
@java.lang.Override() public boolean equals(java.lang.Object o) { return false;}
@java.lang.Override() public int hashCode() { return (int)0;}
}
private static abstract class UrlBasedResource
extends com.ovea.tajin.io.Resource {
public groovy.lang.MetaClass getMetaClass() { return (groovy.lang.MetaClass)null;}
public void setMetaClass(groovy.lang.MetaClass mc) { }
public java.lang.Object invokeMethod(java.lang.String method, java.lang.Object arguments) { return null;}
public java.lang.Object getProperty(java.lang.String property) { return null;}
public void setProperty(java.lang.String property, java.lang.Object value) { }
@java.lang.Override() public java.util.List alikes() { return (java.util.List)null;}
@java.lang.Override() public java.io.InputStream getInput() { return (java.io.InputStream)null;}
@java.lang.Override() public final java.io.OutputStream getOutput() { return (java.io.OutputStream)null;}
@java.lang.Override() public java.io.File getAsFile() { return (java.io.File)null;}
@java.lang.Override() public boolean isUrl() { return false;}
@java.lang.Override() public final boolean isFile() { return false;}
@java.lang.Override() public final java.lang.String getText() { return (java.lang.String)null;}
@java.lang.Override() public java.lang.String getText(java.lang.String charset) { return (java.lang.String)null;}
@java.lang.Override() public final byte[] getBytes() { return (byte[])null;}
}
private static final class ClassPathResource
extends com.ovea.tajin.io.Resource.UrlBasedResource {
public ClassPathResource
(java.lang.ClassLoader classloader, java.lang.String path) {}
public groovy.lang.MetaClass getMetaClass() { return (groovy.lang.MetaClass)null;}
public void setMetaClass(groovy.lang.MetaClass mc) { }
public java.lang.Object invokeMethod(java.lang.String method, java.lang.Object arguments) { return null;}
public java.lang.Object getProperty(java.lang.String property) { return null;}
public void setProperty(java.lang.String property, java.lang.Object value) { }
@java.lang.Override() public java.util.List alikes() { return (java.util.List)null;}
@java.lang.Override() public java.net.URL getAsUrl() { return (java.net.URL)null;}
@java.lang.Override() public java.lang.String toString() { return (java.lang.String)null;}
@java.lang.Override() public boolean equals(java.lang.Object o) { return false;}
@java.lang.Override() public int hashCode() { return (int)0;}
@java.lang.Override() public boolean isExist() { return false;}
}
private static final class UrlResource
extends com.ovea.tajin.io.Resource.UrlBasedResource {
public UrlResource
(java.net.URL url) {}
public groovy.lang.MetaClass getMetaClass() { return (groovy.lang.MetaClass)null;}
public void setMetaClass(groovy.lang.MetaClass mc) { }
public java.lang.Object invokeMethod(java.lang.String method, java.lang.Object arguments) { return null;}
public java.lang.Object getProperty(java.lang.String property) { return null;}
public void setProperty(java.lang.String property, java.lang.Object value) { }
@java.lang.Override() public java.net.URL getAsUrl() { return (java.net.URL)null;}
@java.lang.Override() public java.lang.String toString() { return (java.lang.String)null;}
@java.lang.Override() public boolean equals(java.lang.Object o) { return false;}
@java.lang.Override() public int hashCode() { return (int)0;}
@java.lang.Override() public boolean isExist() { return false;}
}
private static final class FileResource
extends com.ovea.tajin.io.Resource {
public FileResource
(java.io.File file) {}
public groovy.lang.MetaClass getMetaClass() { return (groovy.lang.MetaClass)null;}
public void setMetaClass(groovy.lang.MetaClass mc) { }
public java.lang.Object invokeMethod(java.lang.String method, java.lang.Object arguments) { return null;}
public java.lang.Object getProperty(java.lang.String property) { return null;}
public void setProperty(java.lang.String property, java.lang.Object value) { }
@java.lang.Override() public java.net.URL getAsUrl() { return (java.net.URL)null;}
@java.lang.Override() public java.lang.String toString() { return (java.lang.String)null;}
@java.lang.Override() public boolean equals(java.lang.Object o) { return false;}
@java.lang.Override() public int hashCode() { return (int)0;}
@java.lang.Override() public boolean isExist() { return false;}
@java.lang.Override() public java.util.List alikes() { return (java.util.List)null;}
@java.lang.Override() public java.io.InputStream getInput() { return (java.io.InputStream)null;}
@java.lang.Override() public final java.io.OutputStream getOutput() { return (java.io.OutputStream)null;}
@java.lang.Override() public java.io.File getAsFile() { return (java.io.File)null;}
@java.lang.Override() public boolean isUrl() { return false;}
@java.lang.Override() public final java.lang.String getText() { return (java.lang.String)null;}
@java.lang.Override() public java.lang.String getText(java.lang.String charset) { return (java.lang.String)null;}
@java.lang.Override() public final byte[] getBytes() { return (byte[])null;}
@java.lang.Override() public final boolean isFile() { return false;}
}
}