public final class bini
extends java.lang.Object
| Constructor and Description |
|---|
bini() |
bini(java.io.File _inf)
Der Konstruktur.
|
bini(java.io.InputStream _infis) |
| Modifier and Type | Method and Description |
|---|---|
netrexx.lang.Rexx |
_getval(netrexx.lang.Rexx section,
netrexx.lang.Rexx variable) |
void |
buildconf()
Die Kernroutine: Sie öffnet eine Datei und baut die inneren Verwaltungsstrukturen auf.
|
void |
buildconf(java.io.BufferedReader br) |
void |
commentOut(netrexx.lang.Rexx _section,
netrexx.lang.Rexx _variable,
netrexx.lang.Rexx _comment) |
boolean |
doUpdate()
wie doUpdate(Rexx), nur nimmt Sie sich das Infdatum selbst auf protected properties.
|
long |
doUpdate(long l)
Halbautomatisches Neuladen, falls das Inifile auf dem Datenträger inzwischen neuer
ist.
|
netrexx.lang.Rexx |
getCommentedOut(netrexx.lang.Rexx _section,
netrexx.lang.Rexx _variable) |
netrexx.lang.Rexx |
getInifileName() |
long |
getInifileTimestamp() |
static bini |
getInstance(java.lang.String _PID) |
static bini |
getInstance(java.lang.String _PID,
java.lang.String _PIN) |
static bini |
getInstance(java.lang.String _PID,
java.lang.String _PIN,
boolean forceNewInstance) |
java.util.Properties |
getSectionAsProperties(java.lang.String _section) |
java.util.Properties |
getSectionAsProperties(java.lang.String _section,
java.util.Properties props) |
java.lang.String[] |
getSections(java.lang.String _prefix)
Sections may contain of two parts like "ThisIsTheMainPart.ThisIsTheSuffix".
|
netrexx.lang.Rexx |
getval(netrexx.lang.Rexx section,
netrexx.lang.Rexx variable)
Holt Wert aus dem Inifile: Sektion,Variable
|
netrexx.lang.Rexx |
getval(netrexx.lang.Rexx section,
netrexx.lang.Rexx variable,
netrexx.lang.Rexx $default)
Holt Wert mit Default aus dem Inifile: Sektion,Variable,Default
|
boolean |
getValueAsBool(java.lang.String _section,
java.lang.String _variable) |
boolean |
getValueAsBool(java.lang.String _section,
java.lang.String _variable,
boolean _default) |
int |
getValueAsInt(java.lang.String _section,
java.lang.String _variable) |
int |
getValueAsInt(java.lang.String _section,
java.lang.String _variable,
int _default) |
java.lang.String |
getValueAsString(java.lang.String _section,
java.lang.String _variable) |
java.lang.String |
getValueAsString(java.lang.String _section,
java.lang.String _variable,
java.lang.String _default) |
netrexx.lang.Rexx |
getvalWithUpdateAllowed(netrexx.lang.Rexx section,
netrexx.lang.Rexx variable)
Holt einen Wert auf dem Inifile und updatet ggfs. die Inistrukturen vorher.
|
boolean |
hasSection(java.lang.String section) |
void |
reload()
Manuelles Neuladen der Ini-Struktur.
|
void |
save() |
java.lang.String |
save(java.io.BufferedReader _reader) |
void |
setval(netrexx.lang.Rexx _section,
netrexx.lang.Rexx _variable,
netrexx.lang.Rexx _value) |
public bini(java.io.File _inf)
throws java.io.IOException,
java.io.FileNotFoundException
java.io.IOExceptionjava.io.FileNotFoundExceptionpublic bini(java.io.InputStream _infis)
throws java.io.IOException,
java.io.FileNotFoundException
java.io.IOExceptionjava.io.FileNotFoundExceptionpublic bini()
public static bini getInstance(java.lang.String _PID)
public static bini getInstance(java.lang.String _PID, java.lang.String _PIN)
public static bini getInstance(java.lang.String _PID, java.lang.String _PIN, boolean forceNewInstance)
public netrexx.lang.Rexx getInifileName()
public long getInifileTimestamp()
public void reload()
public long doUpdate(long l)
public boolean doUpdate()
public void buildconf()
throws java.io.IOException,
java.io.FileNotFoundException
java.io.IOExceptionjava.io.FileNotFoundExceptionpublic void buildconf(java.io.BufferedReader br)
throws java.io.IOException
java.io.IOExceptionpublic netrexx.lang.Rexx getval(netrexx.lang.Rexx section,
netrexx.lang.Rexx variable)
public netrexx.lang.Rexx _getval(netrexx.lang.Rexx section,
netrexx.lang.Rexx variable)
public netrexx.lang.Rexx getval(netrexx.lang.Rexx section,
netrexx.lang.Rexx variable,
netrexx.lang.Rexx $default)
public java.lang.String getValueAsString(java.lang.String _section,
java.lang.String _variable)
public java.lang.String getValueAsString(java.lang.String _section,
java.lang.String _variable,
java.lang.String _default)
public boolean getValueAsBool(java.lang.String _section,
java.lang.String _variable)
public boolean getValueAsBool(java.lang.String _section,
java.lang.String _variable,
boolean _default)
public int getValueAsInt(java.lang.String _section,
java.lang.String _variable)
public int getValueAsInt(java.lang.String _section,
java.lang.String _variable,
int _default)
public boolean hasSection(java.lang.String section)
public java.util.Properties getSectionAsProperties(java.lang.String _section)
public java.util.Properties getSectionAsProperties(java.lang.String _section,
java.util.Properties props)
public netrexx.lang.Rexx getvalWithUpdateAllowed(netrexx.lang.Rexx section,
netrexx.lang.Rexx variable)
public java.lang.String[] getSections(java.lang.String _prefix)
public void setval(netrexx.lang.Rexx _section,
netrexx.lang.Rexx _variable,
netrexx.lang.Rexx _value)
public void commentOut(netrexx.lang.Rexx _section,
netrexx.lang.Rexx _variable,
netrexx.lang.Rexx _comment)
public netrexx.lang.Rexx getCommentedOut(netrexx.lang.Rexx _section,
netrexx.lang.Rexx _variable)
public void save()
throws java.io.IOException,
java.io.FileNotFoundException
java.io.IOExceptionjava.io.FileNotFoundExceptionpublic java.lang.String save(java.io.BufferedReader _reader)
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.