- get(Enum<?>) - Method in class org.apache.commons.csv.CSVRecord
-
Returns a value by Enum
.
- get(int) - Method in class org.apache.commons.csv.CSVRecord
-
Returns a value by index.
- get(String) - Method in class org.apache.commons.csv.CSVRecord
-
Returns a value by name.
- getAlpha() - Method in class edu.duke.Pixel
-
Returns the value of the pixel's alpha (or transparency) component.
- getBlue() - Method in class edu.duke.Pixel
-
Returns the value of the pixel's blue component.
- getCharacterPosition() - Method in class org.apache.commons.csv.CSVRecord
-
Returns the start position of this record as a character position in the source stream.
- getComment() - Method in class org.apache.commons.csv.CSVRecord
-
Returns the comment for this record, if any.
- getCSVHeaders(CSVParser) - Method in class edu.duke.FileResource
-
Allows access to the column names of the header row of a CSV file (the first line in the
file) one at a time.
- getCSVHeaders(CSVParser) - Method in class edu.duke.URLResource
-
Allows access to the column names of the header row of a CSV file (the first line in the
file) one at a time.
- getCSVParser() - Method in class edu.duke.FileResource
-
Returns a CSVParser
object to access the contents of an open file.
- getCSVParser(boolean) - Method in class edu.duke.FileResource
-
Returns a CSVParser
object to access the contents of an open file, possibly
without a header row.
- getCSVParser(boolean, String) - Method in class edu.duke.FileResource
-
Returns a CSVParser
object to access the contents of an open file, possibly
without a header row and a different data delimiter than a comma.
- getCSVParser() - Method in class edu.duke.URLResource
-
Returns a CSVParser
object to access the contents of an open web page.
- getCSVParser(boolean) - Method in class edu.duke.URLResource
-
Returns a CSVParser
object to access the contents of an open web page, possibly
without a header row.
- getCSVParser(boolean, String) - Method in class edu.duke.URLResource
-
Returns a CSVParser
object to access the contents of an open web page, possibly
without a header row and a different data delimiter than a comma.
- getCurrentLineNumber() - Method in class org.apache.commons.csv.CSVParser
-
Returns the current line number in the input stream.
- getFileName() - Method in class edu.duke.ImageResource
-
Returns the file name associated with this image.
- getGreen() - Method in class edu.duke.Pixel
-
Returns the value of the pixel's green component.
- getHeaderMap() - Method in class org.apache.commons.csv.CSVParser
-
Returns a copy of the header map that iterates in column order.
- getHeight() - Method in class edu.duke.ImageResource
-
Returns the height of the image in pixels.
- getPixel(int, int) - Method in class edu.duke.ImageResource
-
Returns the pixel at the (x, y) coordinates passed as a parameter.
- getRecordNumber() - Method in class org.apache.commons.csv.CSVParser
-
Returns the current record number in the input stream.
- getRecordNumber() - Method in class org.apache.commons.csv.CSVRecord
-
Returns the number of this record in the parsed CSV file.
- getRecords() - Method in class org.apache.commons.csv.CSVParser
-
Parses the CSV input according to the given format and returns the content as a list of
CSVRecords
.
- getRed() - Method in class edu.duke.Pixel
-
Returns the value of the pixel's red component.
- getWidth() - Method in class edu.duke.ImageResource
-
Returns the width of the image in pixels.
- getX() - Method in class edu.duke.Pixel
-
Returns the pixel's x-coordinate within the image.
- getY() - Method in class edu.duke.Pixel
-
Returns the pixel's y-coordinate within the image.
- ImageResource - Class in edu.duke
-
The ImageResource
class represents an image as a grid of Pixel
objects
and allows access to all of them, using the method pixels
.
- ImageResource() - Constructor for class edu.duke.ImageResource
-
Create an ImageResource
object that represents the file chosen by the user using
a file selection dialog box.
- ImageResource(int, int) - Constructor for class edu.duke.ImageResource
-
Create an ImageResource
object whose size is the width and height passed as
parameters and whose pixels are all black.
- ImageResource(String) - Constructor for class edu.duke.ImageResource
-
Create an ImageResource
object from the file name passed as a parameter.
- ImageResource(File) - Constructor for class edu.duke.ImageResource
-
Create an ImageResource
object from a file given as a parameter.
- ImageResource(ImageResource) - Constructor for class edu.duke.ImageResource
-
Create an ImageResource
object that is a copy of another image.
- isClosed() - Method in class org.apache.commons.csv.CSVParser
-
Gets whether this parser is closed.
- isConsistent() - Method in class org.apache.commons.csv.CSVRecord
-
Tells whether the record size matches the header size.
- isMapped(String) - Method in class org.apache.commons.csv.CSVRecord
-
Checks whether a given column is mapped, i.e.
- isSet(String) - Method in class org.apache.commons.csv.CSVRecord
-
Checks whether a given columns is mapped and has a value.
- iterator() - Method in class org.apache.commons.csv.CSVParser
-
Returns an iterator on the records.
- iterator() - Method in class org.apache.commons.csv.CSVRecord
-
Returns an iterator over the values of this record.
- save() - Method in class edu.duke.ImageResource
-
Saves the image as a JPEG using its current file name or opens a file selection dialog box to
allow the user to choose a name if no file name set (for example if this image was created as
a blank sized image).
- saveAs() - Method in class edu.duke.ImageResource
-
Saves the image as a JPEG by opening a file selection dialog box to allow the user to choose
the new name for the file.
- selectedFiles() - Method in class edu.duke.DirectoryResource
-
Open a file selection dialog box to allow the user to navigate to a directory and select one
or more files from the chosen directory (or folder).
- sequence() - Method in class edu.duke.RangeResource
-
Allow access to the numbers in this range one at a time.
- setAlpha(int) - Method in class edu.duke.Pixel
-
Resets the value of the pixel's alpha (or transparency) component to the value passed as a parameter.
- setBlue(int) - Method in class edu.duke.Pixel
-
Resets the value of the pixel's blue component to the value passed as a parameter.
- setFileName(String) - Method in class edu.duke.ImageResource
-
Resets the file name associated with this image.
- setGreen(int) - Method in class edu.duke.Pixel
-
Resets the value of the pixel's green component to the value passed as a parameter.
- setPixel(int, int, Pixel) - Method in class edu.duke.ImageResource
-
Resets the pixel at the given (x, y) coordinates but does not redraw it.
- setRed(int) - Method in class edu.duke.Pixel
-
Resets the value of the pixel's red component to the value passed as a parameter.
- size() - Method in class edu.duke.StorageResource
-
Returns the number of strings added/stored in this object.
- size() - Method in class org.apache.commons.csv.CSVRecord
-
Returns the number of values in this record.
- StorageResource - Class in edu.duke
-
The StorageResource
class stores any number of String
objects and
allows access to these stored values one at a time, using the method data
.
- StorageResource() - Constructor for class edu.duke.StorageResource
-
Create an empty StorageResource
object
- StorageResource(StorageResource) - Constructor for class edu.duke.StorageResource
-
Create an StorageResource
object that is a copy of another list.