Liking cljdoc? Tell your friends :D

javax.tools.SimpleJavaFileObject

Provides simple implementations for most methods in JavaFileObject. This class is designed to be subclassed and used as a basis for JavaFileObject implementations. Subclasses can override the implementation and specification of any method of this class as long as the general contract of JavaFileObject is obeyed.

Provides simple implementations for most methods in JavaFileObject.
This class is designed to be subclassed and used as a basis for
JavaFileObject implementations.  Subclasses can override the
implementation and specification of any method of this class as
long as the general contract of JavaFileObject is obeyed.
raw docstring

deleteclj

(delete this)

This implementation does nothing. Subclasses can change this behavior as long as the contract of FileObject is obeyed.

returns: false - boolean

This implementation does nothing.  Subclasses can change this
 behavior as long as the contract of FileObject is
 obeyed.

returns: false - `boolean`
raw docstring

get-access-levelclj

(get-access-level this)

This implementation returns null. Subclasses can change this behavior as long as the contract of JavaFileObject is obeyed.

returns: the access level - javax.lang.model.element.Modifier

This implementation returns null.  Subclasses can
 change this behavior as long as the contract of
 JavaFileObject is obeyed.

returns: the access level - `javax.lang.model.element.Modifier`
raw docstring

get-char-contentclj

(get-char-content this ignore-encoding-errors)

This implementation always throws java.lang.UnsupportedOperationException. Subclasses can change this behavior as long as the contract of FileObject is obeyed.

ignore-encoding-errors - ignore encoding errors if true - boolean

returns: a CharSequence if available; null otherwise - java.lang.CharSequence

throws: java.io.IOException - if an I/O error occurred

This implementation always throws java.lang.UnsupportedOperationException.  Subclasses can change this
 behavior as long as the contract of FileObject is
 obeyed.

ignore-encoding-errors - ignore encoding errors if true - `boolean`

returns: a CharSequence if available; null otherwise - `java.lang.CharSequence`

throws: java.io.IOException - if an I/O error occurred
raw docstring

get-kindclj

(get-kind this)

Description copied from interface: JavaFileObject

returns: this.kind - javax.tools.JavaFileObject$Kind

Description copied from interface: JavaFileObject

returns: this.kind - `javax.tools.JavaFileObject$Kind`
raw docstring

get-last-modifiedclj

(get-last-modified this)

This implementation returns 0L. Subclasses can change this behavior as long as the contract of FileObject is obeyed.

returns: 0L - long

This implementation returns 0L.  Subclasses can change
 this behavior as long as the contract of FileObject is
 obeyed.

returns: 0L - `long`
raw docstring

get-nameclj

(get-name this)

Description copied from interface: FileObject

returns: a user-friendly name - java.lang.String

Description copied from interface: FileObject

returns: a user-friendly name - `java.lang.String`
raw docstring

get-nesting-kindclj

(get-nesting-kind this)

This implementation returns null. Subclasses can change this behavior as long as the contract of JavaFileObject is obeyed.

returns: the nesting kind, or null if the nesting kind is not known - javax.lang.model.element.NestingKind

This implementation returns null.  Subclasses can
 change this behavior as long as the contract of
 JavaFileObject is obeyed.

returns: the nesting kind, or null if the nesting kind
 is not known - `javax.lang.model.element.NestingKind`
raw docstring

name-compatible?clj

(name-compatible? this simple-name kind)

This implementation compares the path of its URI to the given simple name. This method returns true if the given kind is equal to the kind of this object, and if the path is equal to simpleName kind.extension or if it ends with "/" simpleName kind.extension.

This method calls getKind() and toUri() and does not access the fields uri and kind directly.

Subclasses can change this behavior as long as the contract of JavaFileObject is obeyed.

simple-name - a simple name of a class - java.lang.String kind - a kind - javax.tools.JavaFileObject$Kind

returns: true if this file object is compatible; false otherwise - boolean

This implementation compares the path of its URI to the given
 simple name.  This method returns true if the given kind is
 equal to the kind of this object, and if the path is equal to
 simpleName  kind.extension or if it ends with "/"  simpleName  kind.extension.

 This method calls getKind() and toUri() and
 does not access the fields uri and kind
 directly.

 Subclasses can change this behavior as long as the contract
 of JavaFileObject is obeyed.

simple-name - a simple name of a class - `java.lang.String`
kind - a kind - `javax.tools.JavaFileObject$Kind`

returns: true if this file object is compatible; false
 otherwise - `boolean`
raw docstring

open-input-streamclj

(open-input-stream this)

This implementation always throws java.lang.UnsupportedOperationException. Subclasses can change this behavior as long as the contract of FileObject is obeyed.

returns: an InputStream - java.io.InputStream

throws: java.io.IOException - if an I/O error occurred

This implementation always throws java.lang.UnsupportedOperationException.  Subclasses can change this
 behavior as long as the contract of FileObject is
 obeyed.

returns: an InputStream - `java.io.InputStream`

throws: java.io.IOException - if an I/O error occurred
raw docstring

open-output-streamclj

(open-output-stream this)

This implementation always throws java.lang.UnsupportedOperationException. Subclasses can change this behavior as long as the contract of FileObject is obeyed.

returns: an OutputStream - java.io.OutputStream

throws: java.io.IOException - if an I/O error occurred

This implementation always throws java.lang.UnsupportedOperationException.  Subclasses can change this
 behavior as long as the contract of FileObject is
 obeyed.

returns: an OutputStream - `java.io.OutputStream`

throws: java.io.IOException - if an I/O error occurred
raw docstring

open-readerclj

(open-reader this ignore-encoding-errors)

Wraps the result of getCharContent(boolean) in a Reader. Subclasses can change this behavior as long as the contract of FileObject is obeyed.

ignore-encoding-errors - ignore encoding errors if true - boolean

returns: a Reader wrapping the result of getCharContent - java.io.Reader

throws: java.lang.IllegalStateException - if this file object was opened for writing and does not support reading

Wraps the result of getCharContent(boolean) in a Reader.
 Subclasses can change this behavior as long as the contract of
 FileObject is obeyed.

ignore-encoding-errors - ignore encoding errors if true - `boolean`

returns: a Reader wrapping the result of getCharContent - `java.io.Reader`

throws: java.lang.IllegalStateException - if this file object was opened for writing and does not support reading
raw docstring

open-writerclj

(open-writer this)

Wraps the result of openOutputStream in a Writer. Subclasses can change this behavior as long as the contract of FileObject is obeyed.

returns: a Writer wrapping the result of openOutputStream - java.io.Writer

throws: java.lang.IllegalStateException - if this file object was opened for reading and does not support writing

Wraps the result of openOutputStream in a Writer.  Subclasses
 can change this behavior as long as the contract of FileObject is obeyed.

returns: a Writer wrapping the result of openOutputStream - `java.io.Writer`

throws: java.lang.IllegalStateException - if this file object was opened for reading and does not support writing
raw docstring

to-stringclj

(to-string this)

Description copied from class: Object

returns: a string representation of the object. - java.lang.String

Description copied from class: Object

returns: a string representation of the object. - `java.lang.String`
raw docstring

to-uriclj

(to-uri this)

Description copied from interface: FileObject

returns: a URI - java.net.URI

Description copied from interface: FileObject

returns: a URI - `java.net.URI`
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close