Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.skife.jdbi.v2.util;
 
 import java.net.URL;
 
 public class URLMapper extends TypedMapper<URL>
 {
 
    public URLMapper()
    {
        super();
    }
    public URLMapper(int index)
    {
        super(index);
    }
    public URLMapper(String name)
    {
        super(name);
    }
    @Override
    protected URL extractByName(ResultSet rString namethrows SQLException
    {
        return r.getURL(name);
    }
    @Override
    protected URL extractByIndex(ResultSet rint indexthrows SQLException
    {
        return r.getURL(index);
    }
    public static final URLMapper FIRST = new URLMapper();
New to GrepCode? Check out our FAQ X