Package org.jruby.util.io
Interface IOEncodable
- All Known Implementing Classes:
FileDescriptorIO
,IOEncodable.ConvConfig
,JZlibRubyGzipReader
,JZlibRubyGzipWriter
,RubyBasicSocket
,RubyFile
,RubyGzipFile
,RubyIO
,RubyIPSocket
,RubyServerSocket
,RubySocket
,RubyTCPServer
,RubyTCPSocket
,RubyUDPSocket
,RubyUNIXServer
,RubyUNIXSocket
public interface IOEncodable
Represents an IO encodable object. This is IO/File/GZipFile/....
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionboolean
getBOM()
int
org.jcodings.Encoding
getEnc()
org.jcodings.Encoding
getEnc2()
void
setBOM
(boolean bom) void
setEcflags
(int ecflags) void
setEcopts
(IRubyObject ecopts) void
setEnc
(org.jcodings.Encoding enc) void
setEnc2
(org.jcodings.Encoding enc2)
-
Method Details
-
setEnc
void setEnc(org.jcodings.Encoding enc) -
setEnc2
void setEnc2(org.jcodings.Encoding enc2) -
getEnc
org.jcodings.Encoding getEnc() -
getEnc2
org.jcodings.Encoding getEnc2() -
setEcflags
void setEcflags(int ecflags) -
getEcflags
int getEcflags() -
setEcopts
-
getEcopts
IRubyObject getEcopts() -
setBOM
void setBOM(boolean bom) -
getBOM
boolean getBOM()
-