• skip to content

TheFreyers.net

User Tools

  • Login

Site Tools

  • Recent changes
  • Media Manager
  • Sitemap
You are here: Welcome » string

string

Search

You can find the results of your search below. If you didn't find what you were looking for, you can create or edit the page named after your query with the appropriate tool.

Results

Matching pagenames:

  • Using Strings in Switch Statements
Reading the Body of an Email: 21 Hits
tContentType().indexOf(ContentType.TYPE_TEXT_HTML_STRING) != -1) { readEmailBody(mbp); ... lProcessor(SomeMessageObject.getContent()); String text = emp.getText(); </code> The revise code fr... asUnsupportedAttachment = false; private String _plainTextMessage = null; private String _htmlMessage = null; private String status = null; private EmailProcessor()
Visual Calendar Servlet: 12 Hits
st, response); } /** * Returns the servlet info string. */ public String getServletInfo() { return su... date: (9/27/01 11:49:25 AM) * @return java.lang.String * @param month int * @param year int */ public String nextYearURL(int month, int year) { return "<A HREF=\"http://www.thefreyers.net/servlets/... rs (if bad or null, set to current month) String mo = request.getParameter("month"); Strin
Experiment #2: 10 Hits
//static constants private static final String DB_PATH = "neo4j-store"; private static final String USERNAME_KEY = "username"; private static final String ADDRESS_KEY = "address"; private static final String CITY_KEY = "city"; private static final String STATE_KEY = "state"; private static final String ZIP_KEY = "zip"; //class variables private static GraphDatabase
Experiment #3: 9 Hits
nsient Nodeid neoid; @neo(index=true) private String id; @neo (index=true) private String name; ... Nodeid neoid; @neo(index = true) private String id; @neo(index = true) private String nam... Nodeid neoid; @neo(index = true) private String id; @neo(index = true) private String nam... int NUM_SONGS = 11; public static void main(String[] args) { long starttime = Calendar.getIn
Thread Example: 8 Hits
rt java.util.*; class threads { public static String[] names = { "Alice", "Bob", "Christy", "David", ... Yeta", "Ziggy" }; public static void main(String[] args) { //create 10 threads and run them for... public SimpleDateFormat sdf = null; public String name = null; public Random rndm = null; public static String[] dailyEvents = { "alarm went off", "hit snooze button", "alarm went off again"
ToolBar Hacking: 7 Hits
s the ''title'' text. * insert - just inserts a string * picker - Displays a drop-down pick list with ... quit----- var col = 0; var error_string = ""; do{ col = prompt(error_string+"Enter number of COLUMNS",col); if (!col) return ""; if(isNaN(col))error_string="You didn't enter a NUMBER. Please try again...\n\n"; } whil
Finding Too-New Code: 7 Hits
ss GenericsTest { public static void main(String[] args) { ArrayList<String> stringArray = new ArrayList<String>(); stringArray.add("Hello "); stringArray.add("World."); printStrings... } static void printStrings(Collection<String> c) { for (Iterator<String> i = c... (try -source 1.5 to enable generics) ArrayList<String> stringArray = new ArrayList<String>();
Using Strings in Switch Statements: 5 Hits
involves using enums and a function to convert a string into the corresponding enum.  Let me explain with... , Eat, novalue; public static Action getEnum(String str) { try {return valueOf(str);} ... s the ''valueOf()'' method to convert an incoming string to the corresponding enumerated value.  You can t... es the enum: <code> private static void doAction(String actionString){ switch(Action.getEnum(acti
Handling Compiler Warnings: 4 Hits
class ForNameTest { public static void main(String[] args) { try{ String classna... class ForNameTest { public static void main(String[] args) { try{ String classna
Assert example: 4 Hits
gs for this example */ public static void main(String[] args) { String s = null; // test the prope... the method say(s); } private static void say(String s) { assert s != null : "string is null"; Sys
Formatting Syntax: 3 Hits
atically -- this can be disabled by including the string ''<nowiki>~~NOTOC~~</nowiki>'' in the document. ... class HelloWorldApp { public static void main(String[] args) { System.out.println("Hello World!"); //Display the string. } } </code> The following language strings are currently recognized:
XML Schema Validator: 3 Hits
boolean ERROR = false; public static void main(String[] args) { if (args.length == 0) { System.out... System.exit(status); } public int validate(String filename) { try { // setup SAX parser Cla... o("Warning", spe);} private void displayInfo(String errorType, SAXParseException spe){ System.out.p
DateTools: 2 Hits
dar; public class DateTools { public static String days[] = { "Sunday", ... ay", "Saturday" }; public static String months[] = { "January",
Spreadsheet Reader: 2 Hits
SpreadsheetReader { public static void main(String[] args) throws Exception { Cell cell = null; String contents = null; Workbook workbook = Workbook.getWorkbook(new File("m
Experiment #1: 2 Hits
Server-side Permission Problems: 1 Hits
Build Your Own Aquarium Stand: 1 Hits
Guitars: 1 Hits
Lessons Learned: 1 Hits
My Music Library: 1 Hits
Creating Videos: 1 Hits
Easter Date Calculations: 1 Hits
Berkeley DB Errors: 1 Hits
How Long has a Process Been Alive?: 1 Hits
Java Class Loaders: 1 Hits

Page Tools

  • Show pagesource
  • Old revisions
  • Backlinks
  • Back to top
Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki