public class RoomData extends StdWebMacro
idConverter
Constructor | Description |
---|---|
RoomData() |
Modifier and Type | Method | Description |
---|---|---|
static Pair<java.lang.String,java.lang.String> |
findPair(java.util.List<Pair<java.lang.String,java.lang.String>> fixtures,
java.lang.String varStart,
java.lang.String value) |
|
static java.util.List<Pair<java.lang.String,java.lang.String>> |
findPairs(java.util.List<Pair<java.lang.String,java.lang.String>> fixtures,
java.lang.String varStart,
java.lang.String value) |
|
static int |
getNumFromWordNum(java.lang.String var) |
|
static Pair<java.lang.String,java.lang.String> |
getPair(java.util.List<Pair<java.lang.String,java.lang.String>> fixtures,
java.lang.String var) |
|
static java.lang.String |
getPairValue(java.util.List<Pair<java.lang.String,java.lang.String>> fixtures,
java.lang.String var) |
|
static Pair<java.lang.String,java.lang.String>[] |
makeMergableRoomFields(com.planet_ink.coffee_web.interfaces.HTTPRequest httpReq,
Room R,
java.util.List<java.lang.String> multiRoomList) |
|
static Pair<java.lang.String,java.lang.String>[] |
makePairs(com.planet_ink.coffee_mud.WebMacros.RoomData.RoomStuff stuff,
java.util.List<Pair<java.lang.String,java.lang.String>> fixtures) |
|
com.planet_ink.coffee_mud.WebMacros.RoomData.RoomStuff |
makeRoomStuff(Room R,
java.util.List<Pair<java.lang.String,java.lang.String>> fixtures) |
|
static void |
mergeRoomField(java.util.List<Pair<java.lang.String,java.lang.String>> currentRoomPairsList,
java.util.List<Pair<java.lang.String,java.lang.String>> commonRoomsPairsList,
java.util.List<Pair<java.lang.String,java.lang.String>> submittedRoomPairsList,
java.lang.String[] vars) |
|
static com.planet_ink.coffee_web.interfaces.HTTPRequest |
mergeRoomFields(com.planet_ink.coffee_web.interfaces.HTTPRequest httpReq,
Pair<java.lang.String,java.lang.String>[] setPairs,
Room R) |
|
java.lang.String |
name() |
The public name of this macro
|
java.lang.String |
runMacro(com.planet_ink.coffee_web.interfaces.HTTPRequest httpReq,
java.lang.String parm,
com.planet_ink.coffee_web.interfaces.HTTPResponse httpResp) |
This method is executed only if this macro returns false for
preferBinary().
|
static java.util.List<Pair<java.lang.String,java.lang.String>> |
toPairs(java.util.Map<java.lang.String,java.lang.String> map) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clearWebMacros, clearWebMacros, colorwebifyOnly, compareTo, copyOf, getHTTPFileData, grabFile, helpHelp, helpHelp, htmlIncomingFilter, htmlIncomingFilter, htmlOutgoingFilter, htmlOutgoingFilter, ID, initializeClass, isAdminMacro, isAWebPath, L, newInstance, parseOrderedParms, parseParms, parseParms, preferBinary, runBinaryMacro, safeIncomingfilter, webify, webify
public java.lang.String name()
WebMacro
name
in interface CMObject
name
in interface WebMacro
name
in class StdWebMacro
Environmental.Name()
public static int getNumFromWordNum(java.lang.String var)
public static Pair<java.lang.String,java.lang.String> findPair(java.util.List<Pair<java.lang.String,java.lang.String>> fixtures, java.lang.String varStart, java.lang.String value)
public static java.util.List<Pair<java.lang.String,java.lang.String>> findPairs(java.util.List<Pair<java.lang.String,java.lang.String>> fixtures, java.lang.String varStart, java.lang.String value)
public static Pair<java.lang.String,java.lang.String> getPair(java.util.List<Pair<java.lang.String,java.lang.String>> fixtures, java.lang.String var)
public static java.lang.String getPairValue(java.util.List<Pair<java.lang.String,java.lang.String>> fixtures, java.lang.String var)
public static java.util.List<Pair<java.lang.String,java.lang.String>> toPairs(java.util.Map<java.lang.String,java.lang.String> map)
public com.planet_ink.coffee_mud.WebMacros.RoomData.RoomStuff makeRoomStuff(Room R, java.util.List<Pair<java.lang.String,java.lang.String>> fixtures)
public static Pair<java.lang.String,java.lang.String>[] makePairs(com.planet_ink.coffee_mud.WebMacros.RoomData.RoomStuff stuff, java.util.List<Pair<java.lang.String,java.lang.String>> fixtures)
public static Pair<java.lang.String,java.lang.String>[] makeMergableRoomFields(com.planet_ink.coffee_web.interfaces.HTTPRequest httpReq, Room R, java.util.List<java.lang.String> multiRoomList)
public static void mergeRoomField(java.util.List<Pair<java.lang.String,java.lang.String>> currentRoomPairsList, java.util.List<Pair<java.lang.String,java.lang.String>> commonRoomsPairsList, java.util.List<Pair<java.lang.String,java.lang.String>> submittedRoomPairsList, java.lang.String[] vars)
public static com.planet_ink.coffee_web.interfaces.HTTPRequest mergeRoomFields(com.planet_ink.coffee_web.interfaces.HTTPRequest httpReq, Pair<java.lang.String,java.lang.String>[] setPairs, Room R)
public java.lang.String runMacro(com.planet_ink.coffee_web.interfaces.HTTPRequest httpReq, java.lang.String parm, com.planet_ink.coffee_web.interfaces.HTTPResponse httpResp)
WebMacro
runMacro
in interface WebMacro
runMacro
in class StdWebMacro
httpReq
- the external requests objectparm
- any parameter strings given to the macrohttpResp
- the response, with headersWebMacro.preferBinary()
,
HTTPRequest