text stringlengths 3 1.18M |
|---|
/*
* Copyright 2012 Google Inc.
*
* 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... |
/*
* Copyright 2012 Google Inc.
*
* 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... |
/*
* Copyright 2012 Google Inc.
*
* 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... |
/*
* Copyright 2012 Google Inc.
*
* 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... |
/*
* Copyright 2012 Google Inc.
*
* 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... |
/*
* Copyright 2010 Google Inc.
*
* 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... |
/*
* Copyright 2010 Google Inc.
*
* 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... |
/*
* Copyright 2010 Google Inc.
*
* 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... |
/*
* Copyright 2011 Google Inc.
*
* 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... |
/*
* Copyright 2011 Google Inc.
*
* 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... |
/*
* Copyright 2011 Google Inc.
*
* 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... |
/*
* Copyright 2010 Google Inc.
*
* 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... |
/*
* Copyright 2008 Google Inc.
*
* 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... |
/*
* Copyright 2010 Google Inc.
*
* 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... |
/*
* Copyright 2008 Google Inc.
*
* 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... |
/*
* Copyright 2011 Google Inc.
*
* 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... |
/*
* Copyright 2008 Google Inc.
*
* 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... |
/*
* Copyright 2012 Google Inc.
*
* 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... |
/*
* Copyright 2012 Google Inc.
*
* 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... |
// Copyright 2012 Google Inc. All Rights Reserved.
package com.google.android.apps.mytracks.io.fusiontables;
import com.google.android.apps.mytracks.Constants;
import com.google.android.apps.mytracks.content.DescriptionGenerator;
import com.google.android.apps.mytracks.content.DescriptionGeneratorImpl;
import com.goo... |
/*
* Copyright 2010 Google Inc.
*
* 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... |
/*
* Copyright 2008 Google Inc.
*
* 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... |
/*
* Copyright 2010 Google Inc.
*
* 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... |
/*
* Copyright 2009 Google Inc.
*
* 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... |
/*
* Copyright 2008 Google Inc.
*
* 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... |
/*
* Copyright 2008 Google Inc.
*
* 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... |
/*
* Copyright 2008 Google Inc.
*
* 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... |
/*
* Copyright 2010 Google Inc.
*
* 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... |
/*
* Copyright 2010 Google Inc.
*
* 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... |
/*
* Copyright 2009 Google Inc.
*
* 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... |
/*
* Copyright 2009 Google Inc.
*
* 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... |
/*
* Copyright 2010 Google Inc.
*
* 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... |
/*
* Copyright 2010 Google Inc.
*
* 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
/*
* Copyright 2010 Google Inc.
*
* 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... |
/*
* Copyright 2010 Google Inc.
*
* 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... |
/*
* Copyright 2010 Google Inc.
*
* 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... |
/*
* Copyright 2010 Google Inc.
*
* 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... |
/*
* Copyright 2010 Google Inc.
*
* 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... |
/*
* Copyright 2010 Google Inc.
*
* 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... |
/*
* Copyright 2010 Google Inc.
*
* 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... |
/*
* Copyright 2010 Google Inc.
*
* 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... |
/*
* Copyright 2011 Google Inc.
*
* 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... |
/*
* Copyright 2011 Google Inc.
*
* 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... |
class MyArrayList {
private int[] MyArray;
private int size;
public MyArrayList(int value, int seed, int inc){
MyArray = new int[value];
size = value;
for (int i = 0; i < size; i++) {
MyArray[i] = seed;
seed += inc;
}
}
public void PrintList() {
for (int i = 0; i < size; i++){
System.out.print... |
/**
* interface que contempla todas as funcionalidades do sistema.
*
* @author Paulo Lima
* @corporation TeckSoft 2014
* @project Araujo Seguros
* @version 1.0
* @since Release 1 16/02/2014
*/
package facade;
import java.io.IOException;
import java.sql.SQLException;
import java.text.Pa... |
package models;
public class Usuario {
private int id;
private String senha;
private String nomeCompleto;
private String horaCadastro;
private String login;
private String datahoraModificacao;
private String dataCadastro;
//--------------------------------------------------------------
public in... |
package models;
public class Pagamento {
private int id;
private String titular;
private String numeroCartao;
private String banco;
private String agencia;
private String formaPagamento;
private String numeroParcela;
private String premioTotal;
private String dataPagamento;
private String cont... |
package models;
public class Cliente {
private int id;
private String apolice;
private String CI;
private String dataCadastro;
private String horaCadastro;
private String terminoVirgencia;
private String status;
private String bonus;
private String dataHoraModificacao;
private String inicioVig... |
package models;
public class ParcelaVencida {
private int idParcela;
private int idCliente;
private String nomeCliente;
private String dataVencimento;
private String status;
private String valor;
private String dataAviso;
private int pagamentoId;
private String premioTotal;
private String forma... |
package models;
public class Parcela {
private int id;
private String dataVencimento;
private String status;
private String valor;
private String dataAviso;
private int pagamentoId;
//--------------------------------------------------------------
public int getId() {
return id;
}
public v... |
package models;
public class Endereco {
private int id;
private String endereco;
private String complemento;
private String estado;
private String cidade;
private String bairro;
private String CEP;
//-------------------------------------------------------------------
public int getId() {
r... |
package repository;
import java.sql.SQLException;
public interface IRepositorioControle {
boolean limparBanco() throws SQLException;
boolean testeConexaoIntranet() throws SQLException;
boolean testeConexaoLocal() throws SQLException;
}
|
/**
* Repositorio endereco com os principais metodos
*
* @author Paulo Lima
* @corporation TeckSoft 2014
* @project Araujo Seguros
* @version 1.0
* @since Release 1 05/03/2014
*/
package repository;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSe... |
package repository;
import java.sql.SQLException;
import java.util.List;
import models.Parcela;
import models.ParcelaVencida;
public interface IRepositorioParcela {
boolean inserirParcela(Parcela parcela) throws SQLException;
boolean removerParcela(int idPagamento) throws SQLException;
boolean ... |
package repository;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.List;
import models.Cliente;
import... |
/**
* Repositorio parcela com os principais metodos
*
* @author Paulo Lima
* @corporation TeckSoft 2014
* @project Araujo Seguros
* @version 1.0
* @since Release 1 05/03/2014
*/
package repository;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet... |
package repository;
import java.sql.SQLException;
import java.util.List;
import models.Usuario;
public interface IRepositorioUsuario {
boolean inserirUsuario(Usuario usuario) throws SQLException;
boolean removerUsuario(Usuario usuario) throws SQLException;
boolean atualizarUsuario(Usuario usuari... |
package repository;
import java.sql.SQLException;
import java.util.List;
import models.Endereco;
public interface IRepositorioEndereco {
boolean inserirEndereco(Endereco endereco) throws SQLException;
boolean removerEndereco(Endereco endereco) throws SQLException;
boolean atualizarEndereco(Ender... |
package repository;
import java.sql.SQLException;
import java.util.List;
import models.Cliente;
public interface IRepositorioCliente {
boolean inserirCliente(Cliente cliente) throws SQLException;
boolean removerCliente(Cliente cliente) throws SQLException;
boolean atualizarCliente(Cliente cliente)... |
package repository;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import util.ConnectionFactory;
import exceptions.ExceptionSql;
public class RepositorioControle implements IRepositorioControle {
// ----------------------------------------------------------... |
package repository;
import java.sql.SQLException;
import java.util.List;
import models.Pagamento;;
public interface IRepositorioPagamento {
boolean inserirPagamento(Pagamento pagamento) throws SQLException;
boolean removerPagamento(Pagamento pagamento) throws SQLException;
boolean atualizarPagam... |
/**
* Repositorio usuario com os principais metodos
*
* @author Paulo Lima
* @corporation TeckSoft 2014
* @project Araujo Seguros
* @version 1.0
* @since Release 1 24/03/2014
*/
package repository;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet... |
/**
* Repositorio pagamento com os principais metodos
*
* @author Paulo Lima
* @corporation TeckSoft 2014
* @project Araujo Seguros
* @version 1.0
* @since Release 1 05/03/2014
*/
package repository;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultS... |
package controllers;
import java.sql.SQLException;
import java.util.List;
import models.Parcela;
import models.ParcelaVencida;
import repository.IRepositorioParcela;
import repository.RepositorioParcela;
public class ControllerParcela {
private IRepositorioParcela parcelaRepositorio;
// GETs e SETs... |
package controllers;
import java.sql.SQLException;
import java.util.List;
import models.Endereco;
import repository.IRepositorioEndereco;
import repository.RepositorioEndereco;
public class ControllerEndereco {
private IRepositorioEndereco enderecoRepositorio;
// GETs e SETs do clienteRepositorio
... |
package controllers;
import java.sql.SQLException;
import java.util.List;
import models.Pagamento;
import repository.IRepositorioPagamento;
import repository.RepositorioPagamento;
public class ControllerPagamento {
private IRepositorioPagamento pagamentoRepositorio;
// GETs e SETs do clienteReposito... |
package controllers;
import java.sql.SQLException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;
import models.Cliente;
import repository.IRepositorioCliente;
import repository.RepositorioCliente;
public class ControllerCliente {
private IRepositorioCliente clienteRe... |
package controllers;
import java.sql.SQLException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;
import models.Usuario;
import repository.IRepositorioUsuario;
import repository.RepositorioUsuario;
public class ControllerUsuario {
private IRepositorioUsuario usuarioRe... |
package controllers;
import java.sql.SQLException;
import repository.IRepositorioControle;
import repository.RepositorioControle;
public class ControllerGeral {
private IRepositorioControle controleRepositorioControle;
// GETs e SETs do controleRepositorioControle
// ----------------------------------... |
package views;
import java.awt.BorderLayout;
import javax.swing.ImageIcon;
import javax.swing.JDialog;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
public class SobreSistema extends JDialog {
/**
*
*/
private static final long serialVersionUID = ... |
package views;
import java.awt.BorderLayout;
import javax.swing.ImageIcon;
import javax.swing.JDialog;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
public class Sincronizando extends JDialog {
/**
*
*/
private static final long serialVersionUID = 1... |
package views;
import javax.swing.UIManager;
import javax.swing.UnsupportedLookAndFeelException;
public class Main {
public static void main(String[] args) {
try {
UIManager
.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
}
catch (ClassNotFoundException | Ins... |
package views;
import java.awt.BorderLayout;
import javax.swing.ImageIcon;
import javax.swing.JDialog;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
public class Desenvolvedores extends JDialog {
/**
*
*/
private static final long serialVersionUID =... |
package util;
import java.sql.DriverManager;
import com.mysql.jdbc.Connection;
import exceptions.ExceptionSql;
public class ConnectionFactory {
private String driver = "com.mysql.jdbc.Driver";
/*
private String user = "root";
private String password = "";
private String host = "localhost";
pri... |
package util;
import java.text.ParseException;
public class Validacao {
public double filtraDados(String nome) throws ParseException{
String formato = nome.substring(3);
formato = formato.replaceAll(",", ".");
double valor = Double.parseDouble(formato);
return valor;
}
}
|
package util;
import com.itextpdf.text.BaseColor;
import com.itextpdf.text.Document;
import com.itextpdf.text.ExceptionConverter;
import com.itextpdf.text.Rectangle;
import com.itextpdf.text.pdf.BaseFont;
import com.itextpdf.text.pdf.PdfContentByte;
import com.itextpdf.text.pdf.PdfPageEventHelper;
import co... |
package util;
import java.io.IOException;
import java.sql.SQLException;
import java.text.ParseException;
import exceptions.ExceptionBackup;
public class Backup {
private String nomeBkp = ".sql";
private String database = "araujo_seguros_local";
private String usuario = "root";
private String senha = ... |
package util;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.List;
public class Data {
// ---------------------------------------------------------------------------------------------
public List<String> dataParce... |
package util;
import javax.swing.text.AttributeSet;
import javax.swing.text.BadLocationException;
import javax.swing.text.PlainDocument;
public class TamanhoMaximo extends PlainDocument {
private static final long serialVersionUID = 1L;
private int tamanho;
public TamanhoMaximo(int tamanho) {
this.... |
package com.example.minerva;
import android.os.Bundle;
import android.os.Handler;
import android.app.Activity;
import android.content.Intent;
import android.view.Display;
import android.view.Menu;
import android.view.MotionEvent;
import android.view.WindowManager;
public class Minerva extends Activity {
public int m... |
package com.example.minerva;
import java.util.ArrayList;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.CheckBox;
import android.widget.ImageView;
import android.widget.Tex... |
package com.example.minerva;
import java.io.DataOutputStream;
import java.io.IOException;
import java.net.Socket;
import java.net.UnknownHostException;
import android.util.Log;
public class Connect {
String recvMessage;
String sendMessage;
DataOutputStream outToServer;
Socket clientSocket = null;... |
package com.example.minerva;
import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
public class Information extends Activity {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.information);
}... |
package com.example.minerva;
import android.graphics.Bitmap;
import android.graphics.Rect;
public class Player extends SpriteAnimation {
Rect m_BoundBox = new Rect();
public Player(Bitmap bitmap) {
super(bitmap);
this.InitSpriteData(62, 116, 6, 6);
this.SetPosition(210, 680);
}
@Override
p... |
package com.example.minerva;
import android.os.Bundle;
import android.os.Handler;
import android.app.Activity;
import android.content.Intent;
import android.view.Display;
import android.view.Menu;
import android.view.MotionEvent;
import android.view.WindowManager;
public class Minerva extends Activity {
public int m... |
package com.example.minerva;
import java.util.ArrayList;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.CheckBox;
import android.widget.ImageView;
import android.widget.Tex... |
package com.example.minerva;
import java.io.DataOutputStream;
import java.io.IOException;
import java.net.Socket;
import java.net.UnknownHostException;
import android.util.Log;
public class Connect {
String recvMessage;
String sendMessage;
DataOutputStream outToServer;
Socket clientSocket = null;... |
package com.example.minerva;
import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
public class Information extends Activity {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.information);
}... |
package com.example.minerva;
import android.graphics.Bitmap;
import android.graphics.Rect;
public class Player extends SpriteAnimation {
Rect m_BoundBox = new Rect();
public Player(Bitmap bitmap) {
super(bitmap);
this.InitSpriteData(62, 116, 6, 6);
this.SetPosition(210, 680);
}
@Override
p... |
package dao;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.orm.ibatis.SqlMapClientTemplate;
import org.springframework.stereotype.Repository;
import dto.TestDTO;
import dto.supportRegDTO;
@Repository("msgdao")
public class TestDAOImpl im... |
package dao;
import java.util.List;
import dto.EventsDTO;
public interface EventsDAO {
void insert();
void insert(EventsDTO events);
List<EventsDTO> getEventsList();
void update(EventsDTO events);
void delete(String title);
EventsDTO select(String events_no);
}
|
package dao;
import java.util.List;
import dto.MemberDTO;
public interface MemberDAO {
public void member_insert(MemberDTO user);
public List<MemberDTO> member_select();
public int member_user_num(MemberDTO user);
public String member_userid(String id);
}
|
package dao;
import java.lang.reflect.Array;
import java.util.List;
import dto.supportRegDTO;
public interface supportDAO {
public void insert();
public void sptInsert(supportRegDTO spt);
public List<supportRegDTO> getSptList();
public int getTotalAmount();
public void setState(String[] param);
... |
package dao;
import java.util.List;
import dto.TestDTO;
import dto.supportRegDTO;
public interface TestDAO {
public List msg_list();
public void msg_insert(TestDTO dto);
public List<supportRegDTO> getMyMsgList(String userNum);
public List<TestDTO> getMsgList();
public void msg_delete(int msg_num);
... |
package dao;
import java.util.List;
import dto.EventsDTO;
import dto.VideoDTO;
public interface VideoDAO {
void insert();
void insert(VideoDTO video);
List<VideoDTO> getVideoList();
void update(VideoDTO video);
void delete(String titles);
VideoDTO select(String video_no);
void setState(S... |
package dao;
import java.util.List;
import dto.BadWordsDTO;
public interface BadWordsDAO {
List<String> select(String word);
List<BadWordsDTO> selectRealAll();
void insert(BadWordsDTO dto);
void delete(int num);
List<String> selectAll();
String search(String word);
int count();
}
|
package dto;
import java.sql.Date;
public class AnimalsDTO{
private String Class_names;
private String Common_names;
private String Family;
private String Authority;
private String Red_List_status;
private String ISO_Codes;
private String URLS ;
public AnimalsDTO(){
}
public Ani... |
package main;
import javax.servlet.http.HttpServletRequest;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
@Controller
public class AboutController {
@RequestMapping("/about.do"... |
package main;
import javax.servlet.http.HttpServletRequest;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
@Controller
public... |
package main;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
@Controller
public class MsgMainController {
@RequestMapping("/index1.do")
public String sh... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.