public class IOContext extends Object
Directory.openInput(String, IOContext)
or
Directory.createOutput(String, IOContext)
Modifier and Type | Class and Description |
---|---|
static class |
IOContext.Context
Context is a enumerator which specifies the context in which the Directory
is being used for.
|
Modifier and Type | Field and Description |
---|---|
IOContext.Context |
context
An object of a enumerator Context type
|
static IOContext |
DEFAULT |
FlushInfo |
flushInfo |
MergeInfo |
mergeInfo |
static IOContext |
READ |
boolean |
readOnce |
static IOContext |
READONCE |
Constructor and Description |
---|
IOContext() |
IOContext(FlushInfo flushInfo) |
IOContext(IOContext.Context context) |
IOContext(IOContext ctxt,
boolean readOnce)
This constructor is used to initialize a
IOContext instance with a new value for the readOnce variable. |
IOContext(MergeInfo mergeInfo) |
public final IOContext.Context context
public final MergeInfo mergeInfo
public final FlushInfo flushInfo
public final boolean readOnce
public static final IOContext DEFAULT
public static final IOContext READONCE
public static final IOContext READ
public IOContext()
public IOContext(FlushInfo flushInfo)
public IOContext(IOContext.Context context)
public IOContext(MergeInfo mergeInfo)
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.