edu.uchicago.cs.java.lec03.ascii
Class Asciify

java.lang.Object
  extended by edu.uchicago.cs.java.lec03.ascii.Asciify

public class Asciify
extends java.lang.Object


Constructor Summary
Asciify()
           
 
Method Summary
static char[][] getAsciiChars(java.lang.String strClipURL, int nDimW)
           
static char[][] getAsciiChars(java.lang.String strClipURL, int nDimW, int nDimH)
           
private static java.lang.String getAsciiValue(int nGrey)
           
private static char getAsciiValueChar(int nGrey)
           
private static java.awt.image.BufferedImage getBuffered(java.lang.String strURL)
           
static java.lang.String getClipboardContents()
           
static void main(java.lang.String[] args)
           
private static java.awt.image.BufferedImage resize(java.awt.image.BufferedImage bufImage)
           
private static java.awt.image.BufferedImage resize(java.awt.image.BufferedImage bufImage, int nDimW)
           
private static java.awt.image.BufferedImage resize(java.awt.image.BufferedImage bufImage, int nDimW, int nDimH)
           
static void writeToClipboard(java.lang.String writeMe)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Asciify

public Asciify()
Method Detail

main

public static void main(java.lang.String[] args)

resize

private static java.awt.image.BufferedImage resize(java.awt.image.BufferedImage bufImage)

resize

private static java.awt.image.BufferedImage resize(java.awt.image.BufferedImage bufImage,
                                                   int nDimW)

resize

private static java.awt.image.BufferedImage resize(java.awt.image.BufferedImage bufImage,
                                                   int nDimW,
                                                   int nDimH)

getBuffered

private static java.awt.image.BufferedImage getBuffered(java.lang.String strURL)
                                                 throws java.io.IOException
Throws:
java.io.IOException

writeToClipboard

public static void writeToClipboard(java.lang.String writeMe)

getClipboardContents

public static java.lang.String getClipboardContents()

getAsciiValue

private static java.lang.String getAsciiValue(int nGrey)

getAsciiValueChar

private static char getAsciiValueChar(int nGrey)

getAsciiChars

public static char[][] getAsciiChars(java.lang.String strClipURL,
                                     int nDimW,
                                     int nDimH)

getAsciiChars

public static char[][] getAsciiChars(java.lang.String strClipURL,
                                     int nDimW)