text
stringlengths
3
1.18M
package com.trilead.ssh2.packets; import java.io.IOException; /** * PacketUserauthBanner. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketUserauthBanner.java,v 1.1 2007/10/15 12:49:55 cplattne Exp $ */ public class PacketUserauthBanner { byte[] payload; String message...
package com.trilead.ssh2.packets; import java.io.IOException; /** * PacketNewKeys. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketNewKeys.java,v 1.1 2007/10/15 12:49:55 cplattne Exp $ */ public class PacketNewKeys { byte[] payload; public PacketNewKeys() { } ...
package com.trilead.ssh2.packets; /** * PacketSessionPtyRequest. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketSessionPtyRequest.java,v 1.1 2007/10/15 12:49:55 cplattne Exp $ */ public class PacketSessionPtyRequest { byte[] payload; public int recipientChannelID; p...
package com.trilead.ssh2.packets; import java.io.IOException; import java.math.BigInteger; /** * PacketKexDHReply. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketKexDHReply.java,v 1.1 2007/10/15 12:49:55 cplattne Exp $ */ public class PacketKexDHReply { byte[] payload...
package com.trilead.ssh2; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.security.SecureRandom; import com.trilead.ssh2.channel.Channel; import com.trilead.ssh2.channel.ChannelManager; import com.trilead.ssh2.channel.X11ServerData; /** * A <code>Sess...
package com.trilead.ssh2.transport; /** * NegotiatedParameters. * * @author Christian Plattner, plattner@trilead.com * @version $Id: NegotiatedParameters.java,v 1.1 2007/10/15 12:49:57 cplattne Exp $ */ public class NegotiatedParameters { public boolean guessOK; public String kex_algo; public Stri...
package com.trilead.ssh2.transport; /** * NegotiateException. * * @author Christian Plattner, plattner@trilead.com * @version $Id: NegotiateException.java,v 1.1 2007/10/15 12:49:56 cplattne Exp $ */ public class NegotiateException extends Exception { private static final long serialVersionUID = 368991...
package com.trilead.ssh2.transport; import java.io.IOException; /** * MessageHandler. * * @author Christian Plattner, plattner@trilead.com * @version $Id: MessageHandler.java,v 1.1 2007/10/15 12:49:56 cplattne Exp $ */ public interface MessageHandler { public void handleMessage(byte[] msg, int msgl...
package com.trilead.ssh2.transport; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.UnsupportedEncodingException; import com.trilead.ssh2.Connection; /** * ClientServerHello. * * @author Christian Plattner, plattner@trilead.com * @version $Id: C...
package com.trilead.ssh2.transport; /** * KexParameters. * * @author Christian Plattner, plattner@trilead.com * @version $Id: KexParameters.java,v 1.1 2007/10/15 12:49:56 cplattne Exp $ */ public class KexParameters { public byte[] cookie; public String[] kex_algorithms; public String[] server_hos...
package com.trilead.ssh2.transport; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.InetAddress; import java.net.InetSocketAddress; import java.net.Socket; import java.net.UnknownHostException; import java.security.SecureRandom; import java.util.Vector; ...
package com.trilead.ssh2.transport; import java.math.BigInteger; import com.trilead.ssh2.DHGexParameters; import com.trilead.ssh2.crypto.dh.DhExchange; import com.trilead.ssh2.crypto.dh.DhGroupExchange; import com.trilead.ssh2.packets.PacketKexInit; /** * KexState. * * @author Christian Plattner, p...
package com.trilead.ssh2.transport; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.security.SecureRandom; import com.trilead.ssh2.compression.ICompressor; import com.trilead.ssh2.crypto.cipher.BlockCipher; import com.trilead.ssh2.crypto.cipher.CipherInputSt...
package com.trilead.ssh2.transport; import java.io.IOException; import java.security.SecureRandom; import com.trilead.ssh2.ConnectionInfo; import com.trilead.ssh2.DHGexParameters; import com.trilead.ssh2.ServerHostKeyVerifier; import com.trilead.ssh2.compression.CompressionFactory; import com.trilead.ssh2....
package com.trilead.ssh2; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; /** * A very basic <code>SCPClien...
package com.trilead.ssh2.channel; import java.io.IOException; import java.net.InetSocketAddress; import java.net.ServerSocket; import java.net.Socket; /** * LocalAcceptThread. * * @author Christian Plattner, plattner@trilead.com * @version $Id: LocalAcceptThread.java,v 1.1 2007/10/15 12:49:56 cplatt...
package com.trilead.ssh2.channel; /** * RemoteForwardingData. Data about a requested remote forwarding. * * @author Christian Plattner, plattner@trilead.com * @version $Id: RemoteForwardingData.java,v 1.1 2007/10/15 12:49:56 cplattne Exp $ */ public class RemoteForwardingData { public String bindAdd...
package com.trilead.ssh2.channel; import java.io.IOException; import java.net.Socket; import com.trilead.ssh2.log.Logger; /** * RemoteAcceptThread. * * @author Christian Plattner, plattner@trilead.com * @version $Id: RemoteAcceptThread.java,v 1.1 2007/10/15 12:49:56 cplattne Exp $ */ public cl...
package com.trilead.ssh2.channel; import java.io.IOException; import java.io.OutputStream; /** * ChannelOutputStream. * * @author Christian Plattner, plattner@trilead.com * @version $Id: ChannelOutputStream.java,v 1.1 2007/10/15 12:49:56 cplattne Exp $ */ public final class ChannelOutputStream extend...
package com.trilead.ssh2.channel; import java.io.IOException; import java.io.InputStream; /** * ChannelInputStream. * * @author Christian Plattner, plattner@trilead.com * @version $Id: ChannelInputStream.java,v 1.1 2007/10/15 12:49:56 cplattne Exp $ */ public final class ChannelInputStream extends ...
package com.trilead.ssh2.channel; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.Socket; /** * A StreamForwarder forwards data between two given streams. * If two StreamForwarder threads are used (one for each direction) * then one can be configure...
package com.trilead.ssh2.channel; /** * X11ServerData. Data regarding an x11 forwarding target. * * @author Christian Plattner, plattner@trilead.com * @version $Id: X11ServerData.java,v 1.1 2007/10/15 12:49:56 cplattne Exp $ * */ public class X11ServerData { public String hostname; public int po...
package com.trilead.ssh2.channel; /** * Channel. * * @author Christian Plattner, plattner@trilead.com * @version $Id: Channel.java,v 1.1 2007/10/15 12:49:56 cplattne Exp $ */ public class Channel { /* * OK. Here is an important part of the JVM Specification: * (http://java.sun.com/docs/books/v...
package com.trilead.ssh2.channel; /** * IChannelWorkerThread. * * @author Christian Plattner, plattner@trilead.com * @version $Id: IChannelWorkerThread.java,v 1.1 2007/10/15 12:49:56 cplattne Exp $ */ interface IChannelWorkerThread { public void stopWorking(); }
/* * ConnectBot: simple, powerful, open-source SSH client for Android * Copyright 2007 Kenny Root, Jeffrey Sharkey * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.a...
/* * ConnectBot: simple, powerful, open-source SSH client for Android * Copyright 2007 Kenny Root, Jeffrey Sharkey * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.a...
package com.trilead.ssh2.channel; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.Socket; import com.trilead.ssh2.log.Logger; /** * RemoteX11AcceptThread. * * @author Christian Plattner, plattner@trilead.com * @version $Id: RemoteX11AcceptThr...
package com.trilead.ssh2.channel; import java.io.IOException; import java.util.HashMap; import java.util.Vector; import com.trilead.ssh2.AuthAgentCallback; import com.trilead.ssh2.ChannelCondition; import com.trilead.ssh2.log.Logger; import com.trilead.ssh2.packets.PacketChannelAuthAgentReq; import com.tr...
package com.trilead.ssh2.sftp; /** * * SFTP Attribute Bits for the "attrib-bits" and "attrib-bits-valid" fields * of the SFTP ATTR data type. * <p> * Yes, these are the "attrib-bits", even though they have "_FLAGS_" in * their name. Don't ask - I did not invent it. * <p> * "<i>These fields, taken ...
package com.trilead.ssh2.sftp; /** * * Permissions for the 'permissions' field in the SFTP ATTRS data type. * <p> * "<i>The 'permissions' field contains a bit mask specifying file permissions. * These permissions correspond to the st_mode field of the stat structure * defined by POSIX [IEEE.1003-1.199...
package com.trilead.ssh2.sftp; /** * * Attribute Flags. The 'valid-attribute-flags' field in * the SFTP ATTRS data type specifies which of the fields are actually present. * * @author Christian Plattner, plattner@trilead.com * @version $Id: AttribFlags.java,v 1.1 2007/10/15 12:49:55 cplattne Exp $ *...
package com.trilead.ssh2.sftp; /** * * Types for the 'type' field in the SFTP ATTRS data type. * <p> * "<i>On a POSIX system, these values would be derived from the mode field * of the stat structure. SPECIAL should be used for files that are of * a known type which cannot be expressed in the protoco...
package com.trilead.ssh2.sftp; /** * * SFTP Error Codes * * @author Christian Plattner, plattner@trilead.com * @version $Id: ErrorCodes.java,v 1.1 2007/10/15 12:49:55 cplattne Exp $ * */ public class ErrorCodes { public static final int SSH_FX_OK = 0; public static final int SSH_FX_EOF = 1; p...
package com.trilead.ssh2.sftp; /** * * SFTP Paket Types * * @author Christian Plattner, plattner@trilead.com * @version $Id: Packet.java,v 1.1 2007/10/15 12:49:55 cplattne Exp $ * */ public class Packet { public static final int SSH_FXP_INIT = 1; public static final int SSH_FXP_VERSION = 2; p...
package com.trilead.ssh2.sftp; /** * * Values for the 'text-hint' field in the SFTP ATTRS data type. * * @author Christian Plattner, plattner@trilead.com * @version $Id: AttrTextHints.java,v 1.1 2007/10/15 12:49:55 cplattne Exp $ * */ public class AttrTextHints { /** * The server knows the fi...
package com.trilead.ssh2.sftp; /** * * SFTP Open Flags. * * The following table is provided to assist in mapping POSIX semantics * to equivalent SFTP file open parameters: * <p> * TODO: This comment should be moved to the open method. * <p> * <ul> * <li>O_RDONLY * <ul><li>desired-access = RE...
/* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ /* Copyright (c) 2001 Lapo Luchini. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, ...
/* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ /* Copyright (c) 2001 Lapo Luchini. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, ...
/* -*-mode:java; c-basic-offset:2; -*- */ /* Copyright (c) 2000,2001,2002,2003 ymnk, JCraft,Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above...
/* -*-mode:java; c-basic-offset:2; -*- */ /* Copyright (c) 2000,2001,2002,2003 ymnk, JCraft,Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain th...
/* -*-mode:java; c-basic-offset:2; -*- */ /* Copyright (c) 2000,2001,2002,2003 ymnk, JCraft,Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above...
/* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ /* Copyright (c) 2000,2001,2002,2003 ymnk, JCraft,Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code ...
/* -*-mode:java; c-basic-offset:2; -*- */ /* Copyright (c) 2000,2001,2002,2003 ymnk, JCraft,Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above...
/* -*-mode:java; c-basic-offset:2; -*- */ /* Copyright (c) 2000,2001,2002,2003 ymnk, JCraft,Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above...
/* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ /* Copyright (c) 2000,2001,2002,2003 ymnk, JCraft,Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code ...
/* -*-mode:java; c-basic-offset:2; -*- */ /* Copyright (c) 2000,2001,2002,2003 ymnk, JCraft,Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above...
/* -*-mode:java; c-basic-offset:2; -*- */ /* Copyright (c) 2000,2001,2002,2003 ymnk, JCraft,Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above...
/* -*-mode:java; c-basic-offset:2; -*- */ /* Copyright (c) 2000,2001,2002,2003 ymnk, JCraft,Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above...
/* -*-mode:java; c-basic-offset:2; -*- */ /* Copyright (c) 2000,2001,2002,2003 ymnk, JCraft,Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above...
/* * This file is part of "JTA - Telnet/SSH for the JAVA(tm) platform". * * (c) Matthias L. Jugel, Marcus Meiner 1996-2005. All Rights Reserved. * * Please visit http://javatelnet.org/ for updates and contact. * * --LICENSE NOTICE-- * This program is free software; you can redistribute it and/or * modify it un...
/* * This file is part of "JTA - Telnet/SSH for the JAVA(tm) platform". * * (c) Matthias L. Jugel, Marcus Meißner 1996-2005. All Rights Reserved. * * Please visit http://javatelnet.org/ for updates and contact. * * --LICENSE NOTICE-- * This program is free software; you can redistribute it and/or * modify it u...
/* * ConnectBot: simple, powerful, open-source SSH client for Android * Copyright 2007 Kenny Root, Jeffrey Sharkey * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.a...
/* * This file is part of "JTA - Telnet/SSH for the JAVA(tm) platform". * * (c) Matthias L. Jugel, Marcus Mei�ner 1996-2005. All Rights Reserved. * * Please visit http://javatelnet.org/ for updates and contact. * * --LICENSE NOTICE-- * This program is free software; you can redistribute it and/or * modify it u...
/* * This file is part of "JTA - Telnet/SSH for the JAVA(tm) platform". * * (c) Matthias L. Jugel, Marcus Meißner 1996-2005. All Rights Reserved. * * Please visit http://javatelnet.org/ for updates and contact. * * --LICENSE NOTICE-- * This program is free software; you can redistribute it and/or * modify it u...
/* * This file is part of "JTA - Telnet/SSH for the JAVA(tm) platform". * * (c) Matthias L. Jugel, Marcus Meißner 1996-2005. All Rights Reserved. * * Please visit http://javatelnet.org/ for updates and contact. * * --LICENSE NOTICE-- * This program is free software; you can redistribute it and/or * modify it u...
package net.sourceforge.jsocks; import java.io.DataInputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.InetAddress; import java.net.UnknownHostException; /** SOCKS5 request/response message. */ public class Socks5Message extends ProxyMessage...
package net.sourceforge.jsocks; import java.io.DataInputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.InetAddress; import java.net.UnknownHostException; /** SOCKS4 Reply/Request message. */ public class Socks4Message extends ProxyMessage{ ...
package net.sourceforge.jsocks; /** This interface provides for datagram encapsulation for SOCKSv5 protocol. <p> SOCKSv5 allows for datagrams to be encapsulated for purposes of integrity and/or authenticity. How it should be done is aggreed during the authentication stage, and is authentication dependent. T...
package net.sourceforge.jsocks; import java.io.IOException; import java.io.InputStream; import java.io.InterruptedIOException; import java.io.OutputStream; import java.net.InetAddress; import java.net.Socket; import java.net.UnknownHostException; /** Abstract class Proxy, base for classes Socks4Proxy and S...
package net.sourceforge.jsocks; import java.net.*; import java.io.*; /** SocksServerSocket allows to accept connections from one particular host through the SOCKS4 or SOCKS5 proxy. */ public class SocksServerSocket extends ServerSocket{ //Data members protected Proxy proxy; protected String...
package net.sourceforge.jsocks; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.InetAddress; import java.net.UnknownHostException; /** Abstract class which describes SOCKS4/5 response/request. */ public abstract class ProxyMessage{ /** Host as an IP...
package net.sourceforge.jsocks.server; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.PushbackInputStream; import java.net.Socket; import net.sourceforge.jsocks.ProxyMessage; import net.sourceforge.jsocks.UDPEncapsulation; /** An implementation of Serve...
package net.sourceforge.jsocks.server; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.DatagramPacket; import java.net.Socket; import net.sourceforge.jsocks.ProxyMessage; import net.sourceforge.jsocks.UDPEncapsulation; /** Classes implementing this in...
package net.sourceforge.jsocks; import java.io.IOException; import java.io.InputStream; import java.net.InetAddress; import java.net.UnknownHostException; /** Proxy which describes SOCKS4 proxy. */ public class Socks4Proxy extends Proxy implements Cloneable{ //Data members String user; //Public ...
package net.sourceforge.jsocks; import java.net.*; import java.io.*; /** * SocksSocket tryies to look very similar to normal Socket, * while allowing connections through the SOCKS4 or 5 proxy. * To use this class you will have to identify proxy you need * to use, Proxy class allows you to set default pro...
package net.sourceforge.jsocks; /** SOCKS5 none authentication. Dummy class does almost nothing. */ public class AuthenticationNone implements Authentication{ public Object[] doSocksAuthentication(int methodId, java.net.Socket proxySocket) throws jav...
package net.sourceforge.jsocks; import net.sourceforge.jsocks.server.*; import java.net.*; import java.io.*; /** UDP Relay server, used by ProxyServer to perform udp forwarding. */ class UDPRelayServer implements Runnable{ DatagramSocket client_sock; DatagramSocket remote_sock; Socket co...
package net.sourceforge.jsocks; import java.net.*; import java.io.*; /** Datagram socket to interract through the firewall.<BR> Can be used same way as the normal DatagramSocket. One should be carefull though with the datagram sizes used, as additional data is present in both incomming and outgoing dat...
package net.sourceforge.jsocks; /** The Authentication interface provides for performing method specific authentication for SOCKS5 connections. */ public interface Authentication{ /** This method is called when SOCKS5 server have selected a particular authentication method, for whch an implemen...
package net.sourceforge.jsocks; /** Exception thrown by various socks classes to indicate errors with protocol or unsuccessful server responses. */ public class SocksException extends java.io.IOException{ private static final long serialVersionUID = 6141184566248512277L; /** Construct a SocksExcep...
package net.sourceforge.jsocks; import java.io.EOFException; import java.io.IOException; import java.io.InputStream; import java.io.InterruptedIOException; import java.io.OutputStream; import java.io.PrintStream; import java.io.PushbackInputStream; import java.net.ConnectException; import java.net.InetAddress;...
package net.sourceforge.jsocks; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.InetAddress; import java.net.Socket; import java.net.SocketException; import java.net.UnknownHostException; import java.util.Enumeration; import java.util.Hashtable; /** SOC...
/** * Originally from http://www.cornetdesign.com/files/BeanTestCase.java.txt */ package org.connectbot.mock; import junit.framework.TestCase; import java.lang.reflect.Field; public class BeanTestCase extends TestCase { private static final String TEST_STRING_VAL1 = "Some Value"; private static final String TES...
/* * ConnectBot: simple, powerful, open-source SSH client for Android * Copyright 2007 Kenny Root, Jeffrey Sharkey * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.a...
/* * ConnectBot: simple, powerful, open-source SSH client for Android * Copyright 2007 Kenny Root, Jeffrey Sharkey * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.a...
/* * ConnectBot: simple, powerful, open-source SSH client for Android * Copyright 2007 Kenny Root, Jeffrey Sharkey * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.a...
/* * ConnectBot: simple, powerful, open-source SSH client for Android * Copyright 2007 Kenny Root, Jeffrey Sharkey * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.a...
/* * ConnectBot: simple, powerful, open-source SSH client for Android * Copyright 2007 Kenny Root, Jeffrey Sharkey * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.a...
/* * ConnectBot: simple, powerful, open-source SSH client for Android * Copyright 2007 Kenny Root, Jeffrey Sharkey * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.a...
/* * ConnectBot: simple, powerful, open-source SSH client for Android * Copyright 2007 Kenny Root, Jeffrey Sharkey * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.a...
/* * ConnectBot: simple, powerful, open-source SSH client for Android * Copyright 2007 Kenny Root, Jeffrey Sharkey * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.a...
package com.akilesa.dictcreator; import java.io.FileReader; import java.io.IOException; import java.sql.SQLException; import java.util.HashMap; import java.util.List; import java.util.Map; /** * Created by IntelliJ IDEA. * User: akilesa * Date: 19.01.2010 * Time: 11:20:36 * To change this template use File | Set...
package com.akilesa.dictcreator; import org.apache.commons.httpclient.HttpClient; import org.apache.commons.httpclient.HttpMethod; import org.apache.commons.httpclient.methods.GetMethod; import org.htmlparser.Node; import org.htmlparser.NodeFilter; import org.htmlparser.Parser; import org.htmlparser.nodes.TagNode; imp...
package com.akilesa.dictcreator; /** * Created by IntelliJ IDEA. * User: akilesa * Date: 20.01.2010 * Time: 13:28:25 * To change this template use File | Settings | File Templates. */ public class AnkiCard { private String question=" "; private String answer=" "; public AnkiCard() { } publi...
package com.akilesa.dictcreator; /** * Created by IntelliJ IDEA. * User: akilesa * Date: 26.01.2010 * Time: 15:32:55 * To change this template use File | Settings | File Templates. */ public interface OnlineDictionarySupport { String requestHtmlWithWordTranslation(String word); String parseAndGetWordTr...
package com.akilesa.dictcreator; import java.util.*; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * Created by IntelliJ IDEA. * User: akilesa * Date: 19.01.2010 * Time: 11:25:31 * To change this template use File | Settings | File Templates. */ public class EnglishWordTokenizer { pri...
package com.akilesa.dictcreator; /** * Created by IntelliJ IDEA. * User: akilesa * Date: 26.01.2010 * Time: 15:11:58 * To change this template use File | Settings | File Templates. */ public class OnlineDictionary { OnlineDictionarySupport support=new LingvoOnlineDictionarySupport(); public String tran...
package com.akilesa.dictcreator; /** * Created by IntelliJ IDEA. * User: akilesa * Date: 28.01.2010 * Time: 15:04:35 * To change this template use File | Settings | File Templates. */ public class Statistic { private static Statistic stat=new Statistic(); private long wordTotalCount; private long c...
package com.akilesa.dictcreator; import java.io.*; import java.sql.*; import java.util.Calendar; import java.util.List; import static java.lang.Class.forName; /** * Created by IntelliJ IDEA. * User: akilesa * Date: 20.01.2010 * Time: 12:28:21 * To change this template use File | Settings | File Templates. */ p...
package com.akilesa.dictcreator; import java.util.ArrayList; import java.util.List; /** * Created by IntelliJ IDEA. * User: akilesa * Date: 19.01.2010 * Time: 11:47:40 * To change this template use File | Settings | File Templates. */ public class EnglishWordTokenizerResult { private List<WordDescription>...
package com.akilesa.dictcreator; import java.util.ArrayList; import java.util.List; /** * Created by IntelliJ IDEA. * User: akilesa * Date: 21.01.2010 * Time: 11:49:00 * To change this template use File | Settings | File Templates. */ public class AnkiCardsCreator { OnlineDictionary dict=new OnlineDiction...
package simulating; public class Mapper { }
package simulating; public class Seeded { }
package simulating; public class Joiner { }
package simulating; public class InitializationTsets { }
package inputGenerate; public class inputGenerator { }
package driver; import java.io.IOException; import java.util.Date; import java.util.Random; import java.util.StringTokenizer; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.conf.Configured; import org.apache.hadoop.fs.FileSystem; import org.apache.hadoop.fs.Path; import org.apache.ha...
/** * MultiTouchVisualizerActivity.java * * (c) Luke Hutchison (luke.hutch@mit.edu) * * -- * * Released under the MIT license (but please notify me if you use this code, so that I can give your project credit at * http://code.google.com/p/android-multitouch-controller ). * * MIT license: http://www.openso...
/** * MultiTouchVisualizerView.java * * (c) Luke Hutchison (luke.hutch@mit.edu) * * -- * * Released under the MIT license (but please notify me if you use this code, so that I can give your project credit at * http://code.google.com/p/android-multitouch-controller ). * * MIT license: http://www.opensource...
/** * PhotoSorterView.java * * (c) Luke Hutchison (luke.hutch@mit.edu) * * TODO: Add OpenGL acceleration. * * -- * * Released under the MIT license (but please notify me if you use this code, so that I can give your project credit at * http://code.google.com/p/android-multitouch-controller ). * * MIT l...